apache2 tomat https 变成http的解决方案 1.apache2 设置 RequestHeader set X-Forwarded-Proto "https" 2.springboot 设置 server.tomcat.protocol-header: X-Forwarded-Proto