Regex cache-header locations (~* \.(css|js)$) used root directive, which caused 404s when BASE_PATH is set (e.g., /test/css/app.css looked for /usr/share/nginx/html/test/css/app.css). Moved regex locations inside the alias block so they inherit the path stripping. Also added healthz/ prefix match for liveness/readiness probes. Tested with BASE_PATH=/test: health, login, CSS, JS all return 200. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3.7 KiB
3.7 KiB