nginx: re-resolve backend upstream after container restart #75
Labels
No labels
bug
dependencies
documentation
feature
phase-summary
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vmanne-poc/Postak#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 13.1 (v0.15.1) follow-up; related to #29 / #49 API traffic.
nginx resolves the backend upstream hostname once at start, so after the backend container restarts (new IP) API requests fail with 502 until nginx is restarted.
Plan
resolver 127.0.0.11 valid=10s) with a variable upstream so the name is re-resolved.Done when