From da4077f3b796c8c9c7973a8ad904388dca17473a Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 09 七月 2022 12:05:40 +0800 Subject: [PATCH] update 修改 生成错误注释 --- script/docker/nginx/nginx.conf | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/script/docker/nginx/nginx.conf b/script/docker/nginx/nginx.conf index 07df783..ecf7195 100644 --- a/script/docker/nginx/nginx.conf +++ b/script/docker/nginx/nginx.conf @@ -62,6 +62,11 @@ # return 200 '{"msg":"婕旂ず妯″紡锛屼笉鍏佽鎿嶄綔","code":500}'; # } + # 闄愬埗澶栫綉璁块棶鍐呯綉 actuator 鐩稿叧璺緞 + location ~ ^(/[^/]*)?/actuator(/.*)?$ { + return 403; + } + location / { root /usr/share/nginx/html; try_files $uri $uri/ /index.html; -- Gitblit v1.9.3