update nginx_docklet.conf to forbid double slashes url
This commit is contained in:
parent
481318e0b1
commit
f899a04252
|
@ -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/ {
|
||||
|
|
Loading…
Reference in New Issue