mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
Compare commits
2 Commits
springboot
...
cc6bbccaf8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc6bbccaf8 | ||
|
|
64410bafc4 |
@@ -28,10 +28,9 @@ http {
|
||||
proxy_pass http://ruoyi-gateway:8080/;
|
||||
}
|
||||
|
||||
# 避免actuator暴露
|
||||
if ($uri ~ "/actuator") {
|
||||
return 403;
|
||||
}
|
||||
# springdoc proxy
|
||||
location~^/v3/api-docs/(.*){
|
||||
proxy pass http://localhost:8080/v3/api-docs/$1;
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
|
||||
Reference in New Issue
Block a user