Explorar el Código

修复actuator暴漏问题

Signed-off-by: 威士忌的纯度 <whr888888@vip.qq.com>
威士忌的纯度 hace 6 meses
padre
commit
1cb262daa3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         }