From b00c6dd89b5f99576046aeb993ce7c0e0508ff5f Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 03 十二月 2021 10:40:05 +0800
Subject: [PATCH] !120 selectPostListByUserId方法出参调整为Long Merge pull request !120 from zendwang/dev

---
 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