Add session cache

This commit is contained in:
Bob Mottram 2016-10-12 18:06:33 +01:00
parent f3df367d94
commit adc541c604
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ function nginx_ssl {
echo " ssl_certificate_key /etc/ssl/private/${domain_name}.key;" >> $filename
echo " ssl_dhparam /etc/ssl/certs/${domain_name}.dhparam;" >> $filename
echo '' >> $filename
echo ' ssl_session_cache builtin:1000 shared:SSL:10m;' >> $filename
echo ' ssl_session_timeout 60m;' >> $filename
echo ' ssl_prefer_server_ciphers on;' >> $filename
echo " ssl_protocols $SSL_PROTOCOLS;" >> $filename