location ^~ /h5 {
alias /usr/share/nginx/html/test/h5;
try_files $uri $uri/ /index.html last;
index index.html;
}
# 部署Jeecg子系统
location /rwdb {
alias /usr/share/nginx/html/rwdb/;
try_files $uri $uri/ /rwdb/index.html?$query_string;
index index.html;
}
location /rwdb/jeecg-boot/ {
proxy_pass http://10.191.24.130:8081/jeecg-boot/;
proxy_set_header Host 10.191.24.130;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}