From a6bcebb62bebe88b256e2e42231e1bd7253f45ae Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Mon, 10 Mar 2025 11:45:34 +0800
Subject: [PATCH] !397 修复actuator暴漏问题 Merge pull request !397 from 威士忌的纯度/N/A

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

diff --git a/docker/nginx/conf/nginx.conf b/docker/nginx/conf/nginx.conf
index eccee52..031fa43 100644
--- a/docker/nginx/conf/nginx.conf
+++ b/docker/nginx/conf/nginx.conf
@@ -29,7 +29,7 @@
         }
 
         # 避免actuator暴露
-        if ($request_uri ~ "/actuator") {
+        if ($uri ~ "/actuator") {
             return 403;
         }
 

--
Gitblit v1.9.3