Ver Fonte

修复actuator暴漏问题

Signed-off-by: 威士忌的纯度 <whr888888@vip.qq.com>
威士忌的纯度 há 6 meses atrás
pai
commit
1cb262daa3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      docker/nginx/conf/nginx.conf

+ 1 - 1
docker/nginx/conf/nginx.conf

@@ -29,7 +29,7 @@ http {
         }
 
         # 避免actuator暴露
-        if ($request_uri ~ "/actuator") {
+        if ($uri ~ "/actuator") {
             return 403;
         }