如題,nginx怎么安裝https證書,我在nginx.conf 檔案里配置了
server{
listen 443;
server_name localhost;
ssl on;
ssl_certificate D:/nginx-1.7.4/conf/1_xxxx_bundle.crt;
ssl_certificate_key D:/nginx-1.7.4/conf/2_xxxx.com.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:-RC4+RSA:HIGH:+MEDIUM:!EXP;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
}
重啟后沒有輸入https訪問還是沒有用,求幫助怎么解決
uj5u.com熱心網友回復:
openss安裝了沒??轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/153708.html
標籤:網絡管理與配置
上一篇:nginx 修改檔案上傳大小限制
