天天看點

Linux Mint + Nginx 1.5.11搭建SSL/HTTPS/SPDY伺服器

用以下腳本安裝:

然後打開/usr/local/nginx/conf/nginx.conf

搜尋HTTPS server,把下面的行全部取消注釋,并為listen參數加上spdy,SSL證書可以填Apache的,或者自己建立。為了讓Wireshark能截包,ssl_ciphers可以改成RSA。

啟動:

sudo /usr/local/nginx/sbin/nginx

注:Apache使用的mod_spdy支援server push,nginx還不支援。

參考:

<a target="_blank" href="http://dev.meettea.com/show-110-1.html">http://dev.meettea.com/show-110-1.html</a>

<a target="_blank" href="http://nginx.org/en/docs/http/ngx_http_spdy_module.html">http://nginx.org/en/docs/http/ngx_http_spdy_module.html</a>

<a target="_blank" href="http://nginx.org/en/docs/configure.html">http://nginx.org/en/docs/configure.html</a>

繼續閱讀