标签:
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