时间:2021-07-01 10:21:17 帮助过:5人阅读
server {
listen 443;
server_name domain;
ssl on;
ssl_certificate domain.crt;
ssl_certificate_key domain.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers HIGH:!ADH:!EXPORT56:RC4+RSA:+MEDIUM;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
}
以上就介绍了nginx配置ssl,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。