feat(脚本): 修改目录
parent
603aba69e3
commit
8ebebec108
|
@ -273,6 +273,7 @@ echoContent() {
|
||||||
# 初始化安装目录
|
# 初始化安装目录
|
||||||
mkdirTools() {
|
mkdirTools() {
|
||||||
mkdir -p /etc/v2ray-agent/tls
|
mkdir -p /etc/v2ray-agent/tls
|
||||||
|
mkdir -p /etc/v2ray-agent/subscribe
|
||||||
mkdir -p /etc/v2ray-agent/v2ray/conf
|
mkdir -p /etc/v2ray-agent/v2ray/conf
|
||||||
mkdir -p /etc/v2ray-agent/xray/conf
|
mkdir -p /etc/v2ray-agent/xray/conf
|
||||||
mkdir -p /etc/v2ray-agent/trojan
|
mkdir -p /etc/v2ray-agent/trojan
|
||||||
|
@ -510,7 +511,7 @@ EOF
|
||||||
server_name ${domain};
|
server_name ${domain};
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
location /s/ {
|
location /s/ {
|
||||||
alias /etc/v2ray-agent/s/;
|
alias /etc/v2ray-agent/subscribe/;
|
||||||
}
|
}
|
||||||
# location / {
|
# location / {
|
||||||
# add_header Strict-Transport-Security "max-age=63072000" always;
|
# add_header Strict-Transport-Security "max-age=63072000" always;
|
||||||
|
@ -526,7 +527,7 @@ EOF
|
||||||
server_name ${domain};
|
server_name ${domain};
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
location /s/ {
|
location /s/ {
|
||||||
alias /etc/v2ray-agent/s/;
|
alias /etc/v2ray-agent/subscribe/;
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||||
|
|
Loading…
Reference in New Issue