configuration test ignores custom resolver

2020-09-06 Thread Anton Demenev
Hi everyone! Unfortunately, I can't find information about how Nginx tests configuration files. In my case I have a two internal DNS zones, .develop and .test. On global http section I added my resolver: ... http {     resolver 192.168.140.249 valid=300s;     resolver_timeout 1s; ... And

Re: Unable to proxy pass to https backend on nginx

2020-09-06 Thread Maxim Dounin
Hello! On Sun, Sep 06, 2020 at 10:15:28AM -0400, ravansh wrote: > I am unable to reverse proxy to my https backend. what am i doing wrong? I > am using the same set of cert for the backend and frontend as I am running > them both on the same machine. I got my certificates from zerossl. Here is >

Re: Unable to proxy pass to https backend on nginx

2020-09-06 Thread Thomas Ward
Bad Gateway indicates the backend you are sending to is not valid in some way - check the nginx error.log output to see what happened when trying to send it to your proxypass'd backend ⁣Get BlueMail for Android ​ Original Message From: ravansh Sent: Sun Sep 06 10:15:28 EDT 2

Unable to proxy pass to https backend on nginx

2020-09-06 Thread ravansh
I am unable to reverse proxy to my https backend. what am i doing wrong? I am using the same set of cert for the backend and frontend as I am running them both on the same machine. I got my certificates from zerossl. Here is the error I get : curl --cacert /etc/ssl/certs/ca_bundle.crt https://www.