# nginx 本机公网 IP 直连规则(自动生成,勿手改;由 sync-nginx-local-ips.sh 维护) # 公网 IP 变更后本文件会被重写并 reload nginx # 每条规则对应一个本机公网 IP(出站 IP + 节点域名 A 记录) if ($host = "") { rewrite ^(.*)$ /__local$1 last; } if ($host = "") { rewrite ^(.*)$ /__local$1 last; }