Nginx开启SSL支持实例配置
生活随笔
收集整理的這篇文章主要介紹了
Nginx开启SSL支持实例配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
開啟SSL實例
server {listen 443 ssl;server_name localhost;ssl_certificate server.cert;ssl_certificate_key server.key;ssl_session_cache shared:SSL:1m;ssl_session_timeout 5m;ssl_ciphers HIGH:!aNULL:!MD5;ssl_prefer_server_ciphers on;location / {root html;index index.html index.htm;} }總結
以上是生活随笔為你收集整理的Nginx开启SSL支持实例配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Nginx反向代理的系统优化
- 下一篇: Nginx使用openssl生成证书文件