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;
}

}

posted on 2015-11-14 14:59  tintindeng  阅读(134)  评论(0)    收藏  举报

导航