Cybersecurity-Projects/PROJECTS/beginner/canary-token-generator/infra/nginx
CarterPerez-dev 20b6fc86ce fix(canary): prod nginx proxy_pass /api/, /c/, /k/ to canary upstream
Audit F1: prod.nginx had only the SPA fallback so all API requests, trigger
requests, and kubeconfig requests returned index.html, breaking the prod
deployment end-to-end. Added an upstream canary block to nginx.prod.conf and
three proxy_pass location blocks mirroring dev.nginx (plus CF-Connecting-IP
header since prod sits behind Cloudflare Tunnel).
2026-05-17 19:07:32 -04:00
..
dev.nginx fix(canary): dev nginx routes /c/, /k/, /api/ to canary + manage_url defaults to base_url 2026-05-17 18:12:09 -04:00
nginx.conf fix(canary): dev nginx routes /c/, /k/, /api/ to canary + manage_url defaults to base_url 2026-05-17 18:12:09 -04:00
nginx.prod.conf fix(canary): prod nginx proxy_pass /api/, /c/, /k/ to canary upstream 2026-05-17 19:07:32 -04:00
prod.nginx fix(canary): prod nginx proxy_pass /api/, /c/, /k/ to canary upstream 2026-05-17 19:07:32 -04:00