2011-06-07 00:25:04 +02:00
|
|
|
server {
|
2012-10-18 15:33:07 +02:00
|
|
|
listen <%= ssl_port %>;
|
2011-06-07 00:25:04 +02:00
|
|
|
<% if ipv6_enable == 'true' && (defined? ipaddress6) %>listen [<%= ipv6_listen_ip %>]:<%= ipv6_listen_port %> default ipv6only=on;<% end %>
|
|
|
|
server_name <%= name %>;
|
|
|
|
|
|
|
|
ssl on;
|
|
|
|
ssl_certificate <%= ssl_cert %>;
|
|
|
|
ssl_certificate_key <%= ssl_key %>;
|
|
|
|
|
|
|
|
ssl_session_timeout 5m;
|
|
|
|
|
|
|
|
ssl_protocols SSLv3 TLSv1;
|
|
|
|
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
|
|
|
|
ssl_prefer_server_ciphers on;
|