修改网关配置
This commit is contained in:
parent
6ff528d9b0
commit
f8a9b2a827
|
|
@ -60,6 +60,14 @@ http {
|
|||
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暴露
|
||||
if ($uri ~ "/actuator") {
|
||||
return 403;
|
||||
|
|
|
|||
Loading…
Reference in New Issue