nginx 支持ie 6 等低版本https 的配置
nginx 配置 https 支持ie6 等低版本(主要是加密套件的问题)
server {
listen 443 ssl;
server_name itapiway.demo.com;
ssl_certificate cert/wsriakey-pem.crt;
ssl_certificate_key cert/wsriakey.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers 'ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS:!AES256';
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
client_body_buffer_size 10M;
client_max_body_size 10G;
proxy_buffers 1024 4k;
proxy_connect_timeout 1s;
proxy_next_upstream error timeout http_502 http_504 non_idempotent;
proxy_pass http://apigateway;
real_ip_header X-Forwarded-For;
real_ip_recursive on;
}
}
参考资料
https://mozilla.github.io/server-side-tls/ssl-config-generator/