问题:

 

解决:

第一种方式 nginx  https +tomcat http ,问题在于这样在servlet / jsp / jsf 中检测到的链接还是http,http 重定向可能会重定向到 http

 

第二种方式 nginx https + tomcat https ,请参考其他网站;

第三种方式 nginx https + tomcat http (第一种的改造,解决了jsp / servlet /jsf 检测出是https 还是 http ,也能正常跳转)

需要配置好tomcat https 然后nginx

tomcat 配置:

 

 

 

发表评论

电子邮件地址不会被公开。