fix: exclude IndexNow/verification key files from language redirect
Some checks failed
Deploy Internet for Kids / Build & Push (push) Successful in 10s
Deploy Internet for Kids / Deploy (push) Successful in 6s
Deploy Internet for Kids / Health Check (push) Failing after 1m4s
Deploy Internet for Kids / Smoke Tests (push) Has been skipped
Deploy Internet for Kids / Rollback (push) Successful in 13s
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:26:18 +03:00
parent 940dfb0c36
commit 9bba0b4787

View File

@@ -35,7 +35,7 @@ server {
}
# Redirect unprefixed paths to /en/
location ~ ^/(?!en/|de/|fr/|css/|js/|img/|favicon|android|apple|site|llms|health|robots|index\.xml) {
location ~ ^/(?!en/|de/|fr/|css/|js/|img/|favicon|android|apple|site|llms|health|robots|index\.xml|[0-9a-f]{32}\.txt) {
return 302 /en$request_uri;
}