default.conf 203 B

1234567891011
  1. server {
  2. listen 80 default;
  3. # 禁止IP访问及未绑定的域名跳转
  4. location = /healthz {
  5. access_log off;
  6. return 200;
  7. }
  8. location / {
  9. return 403;
  10. }
  11. }