server { listen 80 default; allow 100.64.0.0/10; deny all; # 禁止IP访问及未绑定的域名跳转 location = /healthz { access_log off; return 200; } }