Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx gateway doesn't update ip address on service restart #3

Open
iot365 opened this issue Feb 2, 2018 · 1 comment
Open

nginx gateway doesn't update ip address on service restart #3

iot365 opened this issue Feb 2, 2018 · 1 comment
Assignees

Comments

@iot365
Copy link
Member

iot365 commented Feb 2, 2018

After a single service restart (e.g. marmotta) the IP address of the container may change.

Unfortunately, the ngnix proxy always uses the previously resolved IP address for upstream requests, which causes it to report a "502 - Bad Gateway".

Found solutions are just available for nginx-plus:
https://www.nginx.com/blog/dns-service-discovery-nginx-plus/

@evgenhvost
Copy link

@jinnerbichler @iot365
Is this issue is still open ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants