Welcome! Log In Create A New Profile

Advanced

proxy_pass to dyndns address

basti
July 26, 2018 02:50PM
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 Server for this is on the same host.
TTL is only 300s.

I have found the resolver directive, I'm not sure if this is the right
one because of the small TTL.
Is there a way to get this working?

Best Regards
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_pass to dyndns address

basti July 26, 2018 02:50PM

Re: proxy_pass to dyndns address

Richard Stanway July 30, 2018 12:04PM

Re: proxy_pass to dyndns address

basti July 30, 2018 12:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 304
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready