diff --git a/bundles/nginx/files/site_template b/bundles/nginx/files/site_template index 59d7ac4..2e994e7 100644 --- a/bundles/nginx/files/site_template +++ b/bundles/nginx/files/site_template @@ -29,8 +29,9 @@ server { root ${webroot if webroot else '/var/www/{}/'.format(vhost)}; index ${' '.join(index)}; - listen 443 ssl http2; - listen [::]:443 ssl http2; + listen 443 ssl; + listen [::]:443 ssl; + http2 on; % if ssl == 'letsencrypt': ssl_certificate /var/lib/dehydrated/certs/${domain}/fullchain.pem; @@ -70,8 +71,9 @@ server { root ${webroot if webroot else '/var/www/{}/'.format(vhost)}; index ${' '.join(index)}; - listen 443 ssl http2; - listen [::]:443 ssl http2; + listen 443 ssl; + listen [::]:443 ssl; + http2 on; % if ssl == 'letsencrypt': ssl_certificate /var/lib/dehydrated/certs/${domain}/fullchain.pem;