Re: proxy_pass to dyndns address

2018-07-30 Thread basti
Thanks a lot. On 30.07.2018 18:02, Richard Stanway wrote: > nginx only resolves hostname once on startup. See this workaround: > > https://github.com/DmitryFillo/nginx-proxy-pitfalls > > On Thu, Jul 26, 2018 at 8:47 PM basti > wrote: > > Hello, > >

Re: proxy_pass to dyndns address

2018-07-30 Thread Richard Stanway
nginx only resolves hostname once on startup. See this workaround: https://github.com/DmitryFillo/nginx-proxy-pitfalls On Thu, Jul 26, 2018 at 8:47 PM basti wrote: > Hello, > > inside a location I have a proxy_pass to a hostname with a dynamic IP > for example > > location ^~ /example/ { >

proxy_pass to dyndns address

2018-07-26 Thread basti
Hello, inside a location I have a proxy_pass to a hostname with a dynamic IP for example location ^~ /example/ { proxy_pass https://host1.dyndns.example.com; } getent hosts resolve the right IP. But in via nginx return a 504. When I reload nginx it work until IP is changed. The DNS Serv