# 管理后台 — /itadmin/(仅限内网/VPN + 临时公网IP) location /itadmin/ { # IP 白名单:仅允许内网网段 allow 10.0.0.0/8; allow 172.16.0.0/12; allow 192.168.0.0/16; allow 10.212.0.0/16; # VPN 网段 allow 43.174.152.34; # 临时添加 (2026-07-06) deny all; alias /usr/share/nginx/html/itadmin/; index index.html; try_files $uri /itadmin/index.html; }