Index: modules/nginx/templates/nginx.conf.erb |
=================================================================== |
--- a/modules/nginx/templates/nginx.conf.erb |
+++ b/modules/nginx/templates/nginx.conf.erb |
@@ -34,13 +34,15 @@ http { |
gzip_disable "msie6"; |
gzip_min_length 100; |
gzip_buffers 4 8k; |
gzip_types text/plain text/xhtml text/css application/x-javascript text/xml application/atom+xml application/rss+xml; |
<% end %> |
ssl_ciphers RC4:ALL:-LOW:-EXPORT:!aNULL:!aECDH:!MD5; |
ssl_prefer_server_ciphers on; |
+ <% if ssl_session_cache == 'on' %> |
ssl_session_cache shared:SSL:1m; |
+ <% end %> |
include /etc/nginx/conf.d/*.conf; |
include /etc/nginx/sites-enabled/*; |
} |