diff --git a/nginx.conf b/nginx.conf index 4f285f1..57f947c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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|[0-9a-f]{32}\.txt) { + 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; }