mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 03:44:57 +08:00
@@ -130,6 +130,7 @@ com.ruoyi
|
|||||||
nginx:
|
nginx:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
location /stage {
|
location /stage {
|
||||||
alias /home/ruoyi/stage;
|
alias /home/ruoyi/stage;
|
||||||
try_files $uri $uri/ /stage/index.html; #解决页面刷新404问题
|
try_files $uri $uri/ /stage/index.html; #解决页面刷新404问题
|
||||||
@@ -155,3 +156,4 @@ location /stage {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_pass http://192.168.1.211:30008/;
|
proxy_pass http://192.168.1.211:30008/;
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user