提问题
提建议
nginx 代理访问smartbix路径,如何配置nginx代理
我们现在是要集成自助仪表盘,然后需要做nginx代理,我配置了两个,location /vision/{ proxy_pass http://ip:18080/vision/; ... ... ... } location /smartbix/{ proxy_pass http://ip:18080/smartbix/ ... ... ... },但是我现在访问/smartbix 这个代理访问不通,显示404
https://wiki.smartbi.com.cn/pages/viewpage.action?smt_poid=43&pageId=76678699 不建议proxy_pass配置到/vision级别 ,这样重定向会有问题,proxy_pass的地址只配置到/smartbi级别就行,具体如; proxy_pass http://192.168.1.10:8080/smartbi/ ; 因为如果这样配置,在smartbi v8以上版本遇到访问smartbix路径下的资源时,会出现404的情况。 是不是因为这个原因,那这里要怎么修改呢
使用道具 赞 举报
本版积分规则 发表回复 回帖后跳转到最后一页
有奖调研!体验中心改造建议
免费