Skip to content

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

@iot365

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/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions