码迷,mamicode.com
首页 > 其他好文 > 详细

Nginx加证书加端口ssl

时间:2020-04-02 17:46:31      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:cert   com   ror   ssl   xxx   ica   err   ECDHE   SHA256   

listen 80; listen 888 ssl; listen 443 ssl; server_name www.xxx.com xxx.com; ssl_certificate_key xxx.com.key; ssl_certificate xxx.com.crt; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM; ssl_prefer_server_ciphers on; error_page 497 https://$host:$server_port$request_uri; charset utf-8; if ($scheme = http ) { return 301 https://$host$request_uri; }

Nginx加证书加端口ssl

标签:cert   com   ror   ssl   xxx   ica   err   ECDHE   SHA256   

原文地址:https://blog.51cto.com/982439641/2484163

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!