Pre Merge pull request !422 from root/N/A

pull/422/MERGE
root 2026-01-09 03:19:15 +00:00 committed by Gitee
commit 996cb73e89
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 4 deletions

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 {