diff --git a/roles/nginx/templates/consul_vhost.j2 b/roles/nginx/templates/consul_vhost.j2 index 4631b903..cff37613 100644 --- a/roles/nginx/templates/consul_vhost.j2 +++ b/roles/nginx/templates/consul_vhost.j2 @@ -20,8 +20,8 @@ server { {% if domain is defined %} - listen [::]:443 ssl ipv6only=on; - listen 443 ssl; + listen [::]:443 ssl http2 ipv6only=on; + listen 443 ssl http2; ssl_certificate /etc/letsencrypt/live/{{ server_hostname }}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{{ server_hostname }}/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf;