Re: Nginx caching proxy dns name even when using variables

2018-10-01 Thread Rob Fulton
Hi, On 27/09/2018 15:53, Maxim Dounin wrote: Hello! On Thu, Sep 27, 2018 at 03:27:03PM +0100, Rob Fulton wrote: I’ve done some further testing on this today and discovered that the configuration works correctly when the proxy_pass url is accessed via http, I can see dns queries for the proxy_s

Re: Nginx caching proxy dns name even when using variables

2018-09-27 Thread Maxim Dounin
Hello! On Thu, Sep 27, 2018 at 03:27:03PM +0100, Rob Fulton wrote: > I’ve done some further testing on this today and discovered that > the configuration works correctly when the proxy_pass url is > accessed via http, I can see dns queries for the proxy_server > url every minute as per the ttl

Re: Nginx caching proxy dns name even when using variables

2018-09-27 Thread Rob Fulton
Hi, I’ve done some further testing on this today and discovered that the configuration works correctly when the proxy_pass url is accessed via http, I can see dns queries for the proxy_server url every minute as per the ttl. The moment I change the url to https, this stops. Is this a known limi

Nginx caching proxy dns name even when using variables

2018-09-26 Thread Rob Fulton
Hi, I'm using nginx to proxy to a host with a rapidly changing dns entry but I can't seem to get the proxy command the re-query dns using the vairable method suggested, the following is a excerpt from my config : server {     listen 443 ssl;     resolver 127.0.0.1 valid=20s;     set $proxy_