mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 修改返回文件为返回文件内容
parent
65310d2fbc
commit
067c4ca79b
|
@ -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 / {
|
||||||
|
|
Loading…
Reference in New Issue