CodeForAfrica / CodeForAfrica/sensors.AFRICA-api
Fix nginx template: guard proxy pass for initial/clean deployments
- Dominant language
- Python
- Stars
- 18
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
@VinneyJ Production deploy dispatch simulation works now for an app that was never deployed before. This is a separate nginx issue that will be addressed. However, since sensors prod has been deployed before and nginx configurations exist, the workflow will dispatch without any issues.
_Originally posted by @gideonmaina in https://github.com/CodeForAfrica/sensors.AFRICA-api/issues/165#issuecomment-5325762043_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the nginx template used by the deployment workflow and compare its behavior for an initial or clean deployment with one that already has nginx configuration. Verify that the production dispatch succeeds in the clean case without breaking deployments where configurations already exist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100