linke-tools / linke-tools/calendar-stack
NGINX HTTP routing to services not working on initial deploy
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
It can be observed, that after deployment the routing defined in the NGINX configuration is not applied properly. The requests to the sabredav and calendarfeed container are not routed as defined in the configuration, causing "Primary script unknown" errors in the NGINX log. After restarting the NGINX container the routing works.
The issue can be obeserved by redeploying the stack, and checking the NGINX container log.
This issue might be related to DNS caching inside the NGINX container, since the given proxy endpoint is resolved once on start. See linked article.
https://serverfault.com/questions/1117412/nginx-serving-content-from-wrong-proxy
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by redeploying the stack and checking the NGINX container log, then repeat the check after restarting that container. Inspect the NGINX configuration and the proxy endpoint resolution for the sabredav and calendarfeed containers. Done means both services are routed correctly immediately after deployment without an NGINX restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx
- Domain
- devops, infrastructure, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100