update nginx_docklet.conf to forbid double slashes url

This commit is contained in:
zhuyj17 2018-12-09 23:50:57 +08:00
parent 481318e0b1
commit f899a04252
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ server
listen %NGINX_PORT;
server_name nginx_docklet.conf;
charset UTF-8;
merge_slashes off;
rewrite (.*)//+(.*) $1/$2 permanent;
index index.html index.htm;
client_max_body_size 20m;
location ~ ^/NginxStatus/ {