nginx https 配置参考,开启https后请求400错误
2021-02-01 14:13
标签:col timeout http server list pre ref rsa serve listen 443 ssl; # listen 443; (这里使用443 ssl这种方式,ssl on的方式可能会https访问400 bad request) nginx https 配置参考,开启https后请求400错误 标签:col timeout http server list pre ref rsa serve 原文地址:https://www.cnblogs.com/cntzyw/p/13181481.html
# ssl on;
ssl_certificate pem;
ssl_certificate_key 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;
上一篇:jquery基础及选择器
下一篇:nginx http转https
文章标题:nginx https 配置参考,开启https后请求400错误
文章链接:http://soscw.com/index.php/essay/49516.html