From 8b674587f66c6dce101f486720aa333956be1733 Mon Sep 17 00:00:00 2001 From: wulabing Date: Sun, 24 Nov 2019 01:36:30 +0800 Subject: [PATCH] =?UTF-8?q?Nginx=20=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9bug?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 672b4c9..d00e1fc 100644 --- a/install.sh +++ b/install.sh @@ -196,7 +196,7 @@ modify_nginx(){ sed -i "/location/c \\\tlocation \/${camouflage}\/" ${nginx_conf} sed -i "/proxy_pass/c \\\tproxy_pass http://127.0.0.1:${PORT};" ${nginx_conf} sed -i "/return/c \\\treturn 301 https://${domain}\$request_uri;" ${nginx_conf} - sed -i "27i \\\tproxy_intercept_errors on;" ${nginx_dir}/conf/nginx.conf + #sed -i "27i \\\tproxy_intercept_errors on;" ${nginx_dir}/conf/nginx.conf } web_camouflage(){ ##请注意 这里和LNMP脚本的默认路径冲突,千万不要在安装了LNMP的环境下使用本脚本,否则后果自负