- 新增完整 README.md 部署规范:架构、端口规划、BBR 跨境优化、 nginx 源码编译+CONNECT 隧道、sing-box(VLESS+REALITY/SS)、mtg(MTProto)、 本机 IP 自动识别、systemd、启动顺序与验证清单 - nginx/nginx.conf:占位符版,proxy_connect_allow all + 回环保护 - sing-box/config.json:占位符版,VLESS+REALITY + SS - systemd/:nginx/sing-box/mtg 服务文件 - scripts/sync-nginx-local-ips.sh:去除真实域名,占位符版 - fake-site/index.html:伪装页(清除真实品牌域名) - 移除过时:traffic-monitor/、pac/、conf.d 具体站点配置 - 所有敏感值(IP/域名/端口/密钥)均以 <占位符> 表示
6 lines
374 B
Plaintext
6 lines
374 B
Plaintext
# nginx 本机公网 IP 直连规则(自动生成,勿手改;由 sync-nginx-local-ips.sh 维护)
|
|
# 公网 IP 变更后本文件会被重写并 reload nginx
|
|
# 每条规则对应一个本机公网 IP(出站 IP + 节点域名 A 记录)
|
|
if ($host = "<PUBLIC_IP_1>") { rewrite ^(.*)$ /__local$1 last; }
|
|
if ($host = "<PUBLIC_IP_2>") { rewrite ^(.*)$ /__local$1 last; }
|