parent
79547b00d6
commit
145ffdcd76
29
README.md
29
README.md
|
|
@ -127,4 +127,31 @@ com.ruoyi
|
|||
|
||||
## 若依微服务交流群
|
||||
|
||||
QQ群: [](https://jq.qq.com/?_wv=1027&k=yqInfq0S) [](https://jq.qq.com/?_wv=1027&k=Oy1mb3p8) [](https://jq.qq.com/?_wv=1027&k=rvxkJtXK) [](https://jq.qq.com/?_wv=1027&k=0Ck3PvTe) [](https://jq.qq.com/?_wv=1027&k=FnHHP4TT) [](https://jq.qq.com/?_wv=1027&k=qdT1Ojpz) [](https://jq.qq.com/?_wv=1027&k=nw3OiyXs) [](https://jq.qq.com/?_wv=1027&k=kiU5WDls) 点击按钮入群。
|
||||
nginx:
|
||||
|
||||
|
||||
location /stage {
|
||||
alias /home/ruoyi/stage;
|
||||
try_files $uri $uri/ /stage/index.html; #解决页面刷新404问题
|
||||
index index.html;
|
||||
}
|
||||
location /stage-api/{
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header REMOTE-HOST $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://192.168.1.211:32008/;
|
||||
}
|
||||
#location-prod 生产环境-----
|
||||
location /prod {
|
||||
alias /home/ruoyi/prod;
|
||||
try_files $uri $uri/ /prod/index.html; #解决页面刷新404问题
|
||||
index index.html;
|
||||
}
|
||||
location /prod-api/{
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header REMOTE-HOST $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://192.168.1.211:30008/;
|
||||
}
|
||||
Loading…
Reference in New Issue