DoH Does Not Work With Local Nginx Proxy Container

Related to

WARP

What is the error message?

NET:ERR_CERT_AUTHORITY_INVALID

What is the issue you’re encountering

NET:ERR_CERT_AUTHORITY_INVALID Error on Chrome Slack and some other apps after Deploying Ngnix Docker

What steps have you taken to resolve the issue?

Hi,
After deploying a local Nginx docker, a strange problem occurs. While Zero Trust and docker are active, I cannot browse
any websites. It shows docker’s self signed certificate for all websites and all requests goes to nginx instead of the only localhost ones. It happens on Chrome and Slack.
But when I deactivate Zero Trust everything goes back to normal. I start to browse the website’s with their certificates.

Then I tried deactivating inspection, this did not resolve the issue. But when I deactivated DoH it started to work as normal. But we need to keep using DoH. I can provide more information as needed.