Explicitly turn off stapling

This commit is contained in:
Bob Mottram 2016-10-12 17:56:58 +01:00
parent 629615fd2e
commit f3df367d94
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ function nginx_ssl {
# creates the SSL/TLS section for a website
domain_name=$1
filename=/etc/nginx/sites-available/$domain_name
echo ' ssl_stapling off;' >> $filename
echo ' ssl_stapling_verify off;' >> $filename
echo ' ssl on;' >> $filename
echo " ssl_certificate /etc/ssl/certs/${domain_name}.crt;" >> $filename
echo " ssl_certificate_key /etc/ssl/private/${domain_name}.key;" >> $filename