关于https请求header里面的token获取不到?

upstream smart.https.com {
server 127.0.0.1:8089;
}

server {
listen 443 ssl;
server_name test.com;
underscores_in_headers on;
ssl on;
ssl_certificate cert/214334856970273.pem;
ssl_certificate_key cert/214334856970273.key;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;

}


}

加上红色的参数就行了!!!

猜你喜欢

转载自www.cnblogs.com/hl15/p/12326231.html
今日推荐