Apache與nginx下HTTPS方式的配置

2021-06-08 18:31:50 字數 698 閱讀 4378

nginx 

ssl_session_timeout  5m;

ssl_protocols  sslv2 sslv3 tlsv1;

ssl_ciphers  all:!adh:!export56:rc4+rsa:+high:+medium:+low:+sslv2:+exp;

ssl_prefer_server_ciphers   on;

location /

}apache

sslengine on

sslciphersuite all:!adh:!export56:rc4+rsa:+high:+medium:+low:+sslv2:+exp:+enull

sslcertificatefile "d:/usr/local/apache2.2.14/conf/cert/server_cert.pem"

sslcertificatekeyfile "d:/usr/local/apache2.2.14/conf/cert/server_key.pem"

#sslcertificatechainfile "/usr/local/etc/apache22/cert/ca.crt"

#sslcacertificatefile "/usr/local/etc/apache22/cert/ca.crt"

sslverifyclient none

sslverifydepth  10

centos6 5下安裝nginx配置https

wget 11.tar gzwget cam ac.uk pub software programming pcre pcre 8.39 tar gzwget org source openssl 1.0 1t.tar gz上面三個是依賴包,都是先configure然後make,make insta...

Apache與Nginx的區別

apache與nginx的優缺點比較 1 nginx相對於apache的優點 輕量級,同樣起web 服務,比apache 占用更少的記憶體及資源 抗併發,nginx 處理請求是非同步非阻塞的,而apache 則是阻塞型的,在高併發下nginx 能保持低資源低消耗高效能 高度模組化的設計,編寫模組相對...

apache與nginx的區別

apache與nginx的優缺點比較 1 nginx相對於apache的優點 輕量級,同樣起web 服務,比apache 占用更少的記憶體及資源 抗併發,nginx 處理請求是非同步非阻塞的,而apache 則是阻塞型的,在高併發下nginx 能保持低資源低消耗高效能 高度模組化的設計,編寫模組相對...