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;
|
listen %NGINX_PORT;
|
||||||
server_name nginx_docklet.conf;
|
server_name nginx_docklet.conf;
|
||||||
charset UTF-8;
|
charset UTF-8;
|
||||||
|
merge_slashes off;
|
||||||
|
rewrite (.*)//+(.*) $1/$2 permanent;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
client_max_body_size 20m;
|
client_max_body_size 20m;
|
||||||
location ~ ^/NginxStatus/ {
|
location ~ ^/NginxStatus/ {
|
||||||
|
|
Loading…
Reference in New Issue