CodeForAfrica / CodeForAfrica/sensors.AFRICA-api

Fix nginx template: guard proxy pass for initial/clean deployments

Open
#166 1 comment 0 reactions 0 assignees View on GitHub
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.

Screenshot 2026-08-18 at 11 37 28 AM

_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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.