2 Commits

Author SHA1 Message Date
root
dee3ac2fc5 Pre Merge pull request !422 from root/N/A 2025-09-04 12:06:50 +00:00
root
64410bafc4 update docker/nginx/conf/nginx.conf.
Signed-off-by: root <15907907+xuezhihongg@user.noreply.gitee.com>
2025-07-16 02:35:07 +00:00

View File

@@ -28,10 +28,9 @@ http {
proxy_pass http://ruoyi-gateway:8080/; proxy_pass http://ruoyi-gateway:8080/;
} }
# 避免actuator暴露 # springdoc proxy
if ($uri ~ "/actuator") { location~^/v3/api-docs/(.*){
return 403; proxy pass http://localhost:8080/v3/api-docs/$1;
}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /50x.html {