TuxInvader / nginx-dns

Sample Configuration for DNS over HTTPS (DoH/DoT gateway) and GSLB with NGINX
BSD 2-Clause "Simplified" License
194 stars 47 forks source link

502 Bad Gateway #6

Closed ScottHelme closed 3 years ago

ScottHelme commented 3 years ago

I'm trying to setup the DoH to DNS proxy and keep getting 502 Bad Gateway from my Nginx server.

My /var/log/nginx/dns-access.log contains entries such as 127.0.0.1 [13/Jan/2021:17:29:23 +0000] TCP "".

I've tried with the 8.8.8.8:53 and 1.1.1.1:53 upstreams.

jm66 commented 3 years ago

hey @ScottHelme How did you solve this? I'm having the same issue in two different hosts.