Nginx Webserver SSL网站配置.

以下为Nginx 1.3 SSL网站使用的配置文件. server { listen 443 ssl spdy; #编译时必须打开SPDY, NGINX版本 1.3+ server_name example.com; index index.html index.htm index.php; root /home/wwwroot/example; ssl on; #打开SSL ssl_certificate certs/example.crt; #设置证书 ssl_certificate_key certs/example.key; #设置KEY文件 ssl_session_timeout 5 Continue Reading