1.apache2 设置
RequestHeader set X-Forwarded-Proto "https"
2.springboot 设置
server.tomcat.protocol-header: X-Forwarded-Proto