瀏覽代碼

fix 修复 spring重大bug 导致 actuator 泄漏问题

疯狂的狮子Li 2 年之前
父節點
當前提交
581a140073
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docker/nginx/conf/nginx.conf

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

@@ -56,7 +56,7 @@ http {
         # }
 
         # 限制外网访问内网 actuator 相关路径
-        location ~ ^(/[^/]*)?/actuator(/.*)?$ {
+        location ~ ^(/[^/]*)?/actuator.*(/.*)?$ {
             return 403;
         }