nanochat/.github/workflows
Manmohan 67f568a4f2
fix(nginx): re-resolve upstream IPs so deploys don't break auth (#43)
When docker compose recreates a service, it gets a new internal IP.
nginx was resolving upstream hostnames once at startup and serving 502
until someone manually restarted it — which is what broke /api/auth
after the last deploy.

Uses Docker Compose's embedded DNS (127.0.0.11) and moves each
proxy_pass onto a variable so nginx re-resolves every request.
Rewrites replace the path-stripping behavior that variable-form
proxy_pass doesn't provide out of the box.

Also adds a `nginx -t && nginx -s reload` step in the deploy workflow
so future nginx.conf edits land without manual ssh.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 20:41:01 -04:00
..
build-dev.yml feat(ci): CI/CD pipeline and Helm umbrella chart for samosaChaat (#8) 2026-04-16 12:09:43 -07:00
ci.yml fix(ci): use astral-sh/setup-uv and --no-workspace for service tests 2026-04-16 12:35:41 -07:00
deploy-ec2.yml fix(nginx): re-resolve upstream IPs so deploys don't break auth (#43) 2026-04-16 20:41:01 -04:00
nightly.yml feat(ci): CI/CD pipeline and Helm umbrella chart for samosaChaat (#8) 2026-04-16 12:09:43 -07:00
promote-uat.yml feat(ci): CI/CD pipeline and Helm umbrella chart for samosaChaat (#8) 2026-04-16 12:09:43 -07:00
release-prod.yml feat(ci): CI/CD pipeline and Helm umbrella chart for samosaChaat (#8) 2026-04-16 12:09:43 -07:00