mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 19:51:56 +08:00
Compare commits
2 Commits
cc6bbccaf8
...
d2a6a564bd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2a6a564bd | ||
|
|
64410bafc4 |
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user