From cf86535f056173475ed6dff41eb2ba7722ab07f4 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Thu, 27 May 2021 17:59:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E6=94=B9n?= =?UTF-8?q?ginx=E7=9B=91=E5=90=AC=E7=AB=AF=E5=8F=A3=E4=B8=BA=E5=86=85?= =?UTF-8?q?=E9=83=A8=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 21f86ef..7031c98 100644 --- a/install.sh +++ b/install.sh @@ -601,7 +601,7 @@ updateRedirectNginxConf() { return 301 https://${domain}$request_uri; } server { - listen 31300; + listen 127.0.0.1:31300; server_name _; return 403; } @@ -609,7 +609,7 @@ EOF if [[ "${selectCoreType}" == "1" ]] && [[ -n $(echo ${selectCustomInstallType} | grep 5) || -z ${selectCustomInstallType} ]]; then cat <>/etc/nginx/conf.d/alone.conf server { - listen 31302 http2; + listen 127.0.0.1:31302 http2; server_name ${domain}; root /usr/share/nginx/html; location /${currentPath}grpc { @@ -621,7 +621,7 @@ EOF cat <>/etc/nginx/conf.d/alone.conf server { - listen 31300; + listen 127.0.0.1:31300; server_name ${domain}; root /usr/share/nginx/html; location /s/ {