我已经用ssl支持编译了Nginx1.4.1,并且希望用以下行来保护我的配置:
ssl_prefer_server_ciphers on;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers AES128-GCM-SHA256:AES256-GCM-SHA384:RC4-SHA:AES128-SHA256:AES256-SHA256;
ssl_session_cache shared:TLSSL:16m;
ssl_session_timeout 10m;这就是我所犯的错误,我不明白为什么会出现这样的错误:
nginx: [emerg] unknown directive "ssl_protocols SSLv3"我的nginx配置:
nginx version: nginx/1.4.1
built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
TLS SNI support enabled
configure arguments: --with-http_dav_module --with-http_gzip_static_module --with- http_stub_status_module --prefix=/opt/nginx --with-http_perl_module --with-http_ssl_module --with-perl=/usr/bin/perl --with-http_geoip_module --with-http_realip_module也许有人知道我做错了什么?
发布于 2013-06-11 21:55:05
我的理解是,默认情况下不启用SSL。您在构建时添加了--with-http_ssl_module标志吗?它需要openssl。
https://serverfault.com/questions/515109
复制相似问题