fix: exclude /health from language redirect
All checks were successful
Deploy Internet for Kids / Build & Push (push) Successful in 8s
Deploy Internet for Kids / Deploy (push) Successful in 6s
Deploy Internet for Kids / Health Check (push) Successful in 2s
Deploy Internet for Kids / Smoke Tests (push) Successful in 3s
Deploy Internet for Kids / Rollback (push) Has been skipped
Deploy Internet for Kids / Audit (push) Successful in 2s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-04-02 21:02:04 +03:00
parent ff9f6c1b7f
commit 5fe5ed2aed

View File

@@ -35,7 +35,7 @@ server {
}
# Redirect unprefixed paths to /en/
location ~ ^/(?!en/|de/|css/|js/|img/|favicon|android|apple|site|llms) {
location ~ ^/(?!en/|de/|css/|js/|img/|favicon|android|apple|site|llms|health) {
return 302 /en$request_uri;
}