请教一下,为什么我在配置ssl的时候, 开启 ssl on;
, 检测nginx配置就是fail,
具体配置如下
server {
listen 443;
server_name abc.cn www.abc.cn;
root /var/www/community/public;
index index.php index.html index.htm;
ssl on;
ssl_certificate /etc/nginx/ssl/1_abc.cn_bundle.crt;
ssl_certificate_key /etc/nginx/ssl/abc_de.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
ssl_prefer_server_ciphers on;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
...