Browse Source

添加 'conf.d/default.conf'

fanyijian 3 năm trước cách đây
mục cha
commit
7de80abc86
1 tập tin đã thay đổi với 11 bổ sung0 xóa
  1. 11 0
      conf.d/default.conf

+ 11 - 0
conf.d/default.conf

@@ -0,0 +1,11 @@
+server {
+    listen       80 default;
+    # 禁止IP访问及未绑定的域名跳转
+    location = /healthz {
+        access_log off;
+        return 200;
+    }
+    location / {
+    	return 403;
+    }
+}