diff --git a/docker/nginx.conf b/docker/nginx.conf index cdc3b1a..80d3340 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -17,9 +17,12 @@ http { uwsgi_temp_path /opt/nginx/run/uwsgi_temp; scgi_temp_path /opt/nginx/run/scgi_temp; + merge_slashes off; + location / { root /opt/nginx/root; index index.html; + rewrite ^/https-everywhere($|//+)(.*) /https-everywhere/$2 permanent; } } }