- 新增完整 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/域名/端口/密钥)均以 <占位符> 表示
50 lines
985 B
JSON
50 lines
985 B
JSON
{
|
|
"log": {
|
|
"level": "info",
|
|
"timestamp": true
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "vless",
|
|
"tag": "vless-reality-in",
|
|
"listen": "0.0.0.0",
|
|
"listen_port": "<vless端口>",
|
|
"users": [
|
|
{
|
|
"uuid": "<VLESS_UUID>",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
],
|
|
"tls": {
|
|
"enabled": true,
|
|
"server_name": "<伪装SNI域名>",
|
|
"reality": {
|
|
"enabled": true,
|
|
"handshake": {
|
|
"server": "<伪装SNI域名>",
|
|
"server_port": 443
|
|
},
|
|
"private_key": "<REALITY_PRIVATE_KEY>",
|
|
"short_id": [
|
|
"<REALITY_SHORT_ID>"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "shadowsocks",
|
|
"tag": "ss-in",
|
|
"listen": "0.0.0.0",
|
|
"listen_port": "<ss端口>",
|
|
"method": "aes-256-gcm",
|
|
"password": "<SS_PASSWORD>"
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
}
|
|
]
|
|
}
|