nginx https 反向代理tomcat http
server 中添加 add_header Content-Security-Policy "upgrade-insecure-requests" always; location 添加proxy_redirect http:// https://;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Fo
原创
2022-04-20 17:49:58 ·
2467 阅读 ·
0 评论