From df6759b0333a188ca871b0b51eb99841dec1e91a Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 07 十二月 2021 17:41:50 +0800
Subject: [PATCH] remove 删除无用注入

---
 script/docker/nginx/nginx.conf |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/script/docker/nginx/nginx.conf b/script/docker/nginx/nginx.conf
index b4ba031..ddd3ecc 100644
--- a/script/docker/nginx/nginx.conf
+++ b/script/docker/nginx/nginx.conf
@@ -52,6 +52,16 @@
         #ssl_prefer_server_ciphers on;
         # https閰嶇疆鍙傝�� end
 
+        # 婕旂ず鐜閰嶇疆 鎷︽埅闄� GET POST 涔嬪鐨勬墍鏈夎姹�
+        # if ($request_method !~* GET|POST) {
+        #     rewrite  ^/(.*)$  /403;
+        # }
+
+        # location = /403 {
+        #     default_type application/json;
+        #     return 200 '{"msg":"婕旂ず妯″紡锛屼笉鍏佽鎿嶄綔","code":500}';
+        # }
+
 		location / {
             root   /usr/share/nginx/html;
 			try_files $uri $uri/ /index.html;

--
Gitblit v1.9.3