mirror of
https://github.com/schroinerxy/Sing-box.git
synced 2026-06-22 04:35:49 +08:00
VPS一键四合一脚本(reality+vmess-argo+hysteria2+tuic5)
This commit is contained in:
@@ -359,12 +359,6 @@ echo ""
|
||||
|
||||
# 配置nginx订阅配置
|
||||
add_nginx_conf() {
|
||||
sed -i '/location \/ {/ {
|
||||
n
|
||||
a\
|
||||
\n location \/sub {\n alias \/etc\/sing-box\/sub.txt;\n default_type "text/plain; charset=utf-8";\n }
|
||||
}' /etc/nginx/nginx.conf
|
||||
|
||||
new_config="server {
|
||||
listen $nginx_port;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user