标签:configure www log tar.gz key module sslv3 config 算法
yum install -y gcc-c++;
yum install -y pcre pcre-devel;
yum install -y zlib zlib-devel;
yum install -y openssl openssl-devel;
tar xvf nginx-1.13.6.tar.gz;
cd nginx-1.13.6;
groupadd www;
useradd -g www www -s /sbin/nologin;
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-stream_ssl_module --with-http_ssl_module --with-stream;
make && make install;
ssl on;
ssl_certificate /usr/local/nginx/conf/server.crt;
ssl_certificate_key /usr/local/nginx/conf/server.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #指定SSL服务器端支持的协议版本
ssl_ciphers HIGH:!aNULL:!MD5;
#ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP; #指定加密算法
ssl_prefer_server_ciphers on; #在使用SSLv3和TLS协议时指定服务器的加密算法要优先于客户端的加密算法
标签:configure www log tar.gz key module sslv3 config 算法
原文地址:https://www.cnblogs.com/maoxianfei/p/9353690.html