页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

在nginx.conf文件location节点中增加配置:proxy_redirect http://$host/smartbi /oa/smartbi;

如果该配置未解决,可使用:proxy_redirect /smartbi /oa/smartbi;

如图:

保存配置,重启nginx。

 

2、访问代理后的登录页登录闪退

...

nginx代理后的smartbi地址smartbi原始地址

proxy_set_header

proxy_redirect

proxy_cookie_path

http://ip/smartbihttp://ip:18080/smartbi——————
http://ip/bihttp://ip:18080/smartbi——http://$host/smartbi /bi/smartbi /bi
http://iphttp://ip:18080/smartbi——http://$host/smartbi/ //smartbi /
http://iphttp://ip:18080/——————
http://ip/bihttp://ip:18080/——http://$http_host /bi 或http://$host /bi/ /bi
http://ip/oa/smartbihttp://ip:18080/smartbi——

http://$host/smartbi /oa/smartbi 或

/smartbi /oa/smartbi;

/ /oa/
http://ip:8088/smartbihttp://ip/smartbiHost             $host:$server_port————
https://ip/smartbihttp://ip:18080/smartbi——http:// https://——
https://ip:8443/smartbihttp://ip:18080/smartbiHost             $host:$server_porthttp:// https://——
https://ip/smartbihttps://ip:18443/smartbi——————
https://ip:8443/smartbihttps://ip:18443/smartbiHost             $host:$server_port————
https://ip/bihttps://ip:18443/smartbi——https://$host/smartbi /bi/smartbi /bi
https://iphttps://ip:18443/smartbi——https://$host/smartbi //smartbi /

...