修改网关配置

This commit is contained in:
孙小云 2026-02-02 13:25:33 +08:00
parent 6ff528d9b0
commit f8a9b2a827
1 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,14 @@ http {
proxy_pass http://ruoyi-minio:9000/; proxy_pass http://ruoyi-minio:9000/;
} }
# WVP-PRO 配置
location /wvp/ {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://ruoyi-gateway:8080/wvp/;
}
# 避免actuator暴露 # 避免actuator暴露
if ($uri ~ "/actuator") { if ($uri ~ "/actuator") {
return 403; return 403;