feat(脚本): 修改返回文件为返回文件内容

pull/534/merge
mack-a 2021-01-19 14:16:11 +08:00
parent 65310d2fbc
commit 067c4ca79b
1 changed files with 2 additions and 0 deletions

View File

@ -499,6 +499,7 @@ EOF
server_name ${domain}; server_name ${domain};
root /usr/share/nginx/html; root /usr/share/nginx/html;
location /s/ { location /s/ {
add_header Content-Type text/plain;
alias /etc/v2ray-agent/subscribe/; alias /etc/v2ray-agent/subscribe/;
} }
# location / { # location / {
@ -515,6 +516,7 @@ EOF
server_name ${domain}; server_name ${domain};
root /usr/share/nginx/html; root /usr/share/nginx/html;
location /s/ { location /s/ {
add_header Content-Type text/plain;
alias /etc/v2ray-agent/subscribe/; alias /etc/v2ray-agent/subscribe/;
} }
location / { location / {