File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ nginx_drupal_flv_streaming: true
2424nginx_drupal_mp4_streaming : true
2525nginx_drupal_http_core :
2626 client_max_body_size : " 10m"
27+ ssl_session_cache : true
2728nginx_drupal_upstream_servers : ["unix:/var/run/php-fpm.sock", "php-fpm-zwei.sock"]
2829nginx_drupal_upstream_backup_servers : ["unix:/var/run/php-fpm-bkp.sock"]
2930nginx_drupal_sites : none
3031nginx_drupal_http_pre_includes : []
31- nginx_drupal_http_post_includes : []
32+ nginx_drupal_http_post_includes : []
Original file line number Diff line number Diff line change @@ -100,12 +100,14 @@ http {
100100 ## Hide the Nginx version number.
101101 server_tokens off;
102102
103+ { % if nginx_drupal_http_core.ssl_session_cache %}
103104 ## Use a SSL/TLS cache for SSL session resume. This needs to be
104105 ## here (in this context, for session resumption to work. See this
105106 ## thread on the Nginx mailing list:
106107 ## http://nginx.org/pipermail/nginx/2010-November/023736.html.
107108 ssl_session_cache shared:SSL:30m ;
108109 ssl_session_timeout 1d ;
110+ { % endif %}
109111
110112 ## The server dictates the choice of cipher suites.
111113 ssl_prefer_server_ciphers on;
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ server {
131131{ % endif %}
132132
133133{ % if item.https is defined %}
134- { % if item.alternate_server_name %}
134+ { % if item.alternate_server_name is defined %}
135135## Return (no rewrite) server block.
136136server {
137137 ## This is to avoid the spurious if for sub-domain name
You can’t perform that action at this time.
0 commit comments