From 603aba69e3ff47898cb3bf70b9100452246025a4 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Mon, 18 Jan 2021 16:59:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E6=B7=BB=E5=8A=A0n?= =?UTF-8?q?ginx=20location?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c3c3ca3..607c0fc 100644 --- a/install.sh +++ b/install.sh @@ -509,8 +509,11 @@ EOF listen 31300; server_name ${domain}; root /usr/share/nginx/html; + location /s/ { + alias /etc/v2ray-agent/s/; + } # location / { - # add_header Strict-Transport-Security "max-age=63072000" always; + # add_header Strict-Transport-Security "max-age=63072000" always; # } # location ~ /.well-known {allow all;} # location /test {return 200 'fjkvymb6len';} @@ -522,6 +525,9 @@ EOF listen 31300; server_name ${domain}; root /usr/share/nginx/html; + location /s/ { + alias /etc/v2ray-agent/s/; + } location / { add_header Strict-Transport-Security "max-age=63072000" always; } @@ -2990,7 +2996,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.3.1" + echoContent green "当前版本:v2.3.2" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:七合一共存脚本" echoContent red "=============================================================="