Skip to content

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

Description

@iot365

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/

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions