5 lines
289 B
Plaintext
5 lines
289 B
Plaintext
# nginx 本机公网 IP 直连规则(自动生成,勿手改;由 sync-nginx-local-ips.sh 维护)
|
|
# 公网 IP 变更后本文件会被重写并 reload nginx
|
|
if ($host = "<PUBLIC_IP>") { rewrite ^(.*)$ /__local$1 last; }
|
|
if ($host = "<PUBLIC_IP>") { rewrite ^(.*)$ /__local$1 last; }
|