diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b24d84d0..3fb4853d 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -180,7 +180,7 @@ http { gzip_static on; brotli_static on; - if ($request_uri ~ ^[^?]+//) { + if ($request_uri ~ ^[^?]*//) { rewrite ^(.*)$ $1 permanent; }