summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 96a83209..617d7e2e 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -220,7 +220,7 @@ http {
gzip_static on;
brotli_static on;
- if ($request_uri ~ ^[^?]+//) {
+ if ($request_uri ~ ^[^?]*//) {
rewrite ^(.*)$ $1 permanent;
}