配置文件成功的情况下打不开:开放端口 设置端口
![linux安装ssl失败原因
linux安装ssl失败原因](/upload/otherpic34/2132491.jpg)
server {
listen 443 default ssl; //需要加不然会显示404 default ssl
server_name 域名;
ssl_certificate zhengshu/certificate.crt;
ssl_certificate_key zhengshu/36xueshecom.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!3DES:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
location / {
try_files $uri $uri/ /index.php?$query_string;
root /www/laravel/public;
index index.html index.htm index.php;
}
location ~ .php$ {
root /www/laravel/public;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
网站标题:linux安装ssl失败原因-创新互联
网站网址:
http://bjjierui.cn/article/dcgcoh.html