From f899a04252f4661a9716af20f30547e9e1f597f6 Mon Sep 17 00:00:00 2001 From: zhuyj17 Date: Sun, 9 Dec 2018 23:50:57 +0800 Subject: [PATCH] update nginx_docklet.conf to forbid double slashes url --- conf/nginx_docklet.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx_docklet.conf b/conf/nginx_docklet.conf index 64cf178..3e75daf 100644 --- a/conf/nginx_docklet.conf +++ b/conf/nginx_docklet.conf @@ -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/ {