apache2 tomat https 变成http的解决方案

1.apache2   设置  

RequestHeader set X-Forwarded-Proto "https"

2.springboot 设置

server.tomcat.protocol-header: X-Forwarded-Proto

 

猜你喜欢

转载自www.cnblogs.com/mzlm/p/10043212.html