当前位置:首页 > 服务器技术 > nginx

nginx ssl

server {
listen 443;
server_name app.tin.com;
ssl on;
ssl_certificate /usr/local/nginx/conf/1_app.tin.com_bundle.crt; #证书
ssl_certificate_key /usr/local/nginx/conf/2_app.tin.com.key;  #密钥
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+EXP;
ssl_prefer_server_ciphers on;

location / {
root /data/myhtml;  # 挂载路径
index index.php index.html index.htm;
}

}

原文:http://www.cnblogs.com/tintindeng/p/4964379.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!