update README.md.

Signed-off-by: WYB <771227828@qq.com>
This commit is contained in:
WYB
2022-10-26 09:31:45 +00:00
committed by Gitee
parent 145ffdcd76
commit d595a21842

View File

@@ -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/;
} }
```