diff --git a/roles/nginx/templates/blank-vhost.conf.j2 b/roles/nginx/templates/blank-vhost.conf.j2 index fc6848d..54318fb 100644 --- a/roles/nginx/templates/blank-vhost.conf.j2 +++ b/roles/nginx/templates/blank-vhost.conf.j2 @@ -5,7 +5,7 @@ server { listen 80 default; {% if nginx_tls_vhosts is defined %} - listen 443 ssl spdy default; + listen 443 ssl http2 default; {% endif %} server_name _; diff --git a/roles/nginx/templates/vhost.conf.j2 b/roles/nginx/templates/vhost.conf.j2 index 5b8a917..ce5480b 100644 --- a/roles/nginx/templates/vhost.conf.j2 +++ b/roles/nginx/templates/vhost.conf.j2 @@ -20,8 +20,8 @@ server { {% endif %} server { - listen {% if use_https == "yes" %} 443 ssl spdy{% else %} 80{% endif %}; - listen [::]{% if use_https == "yes" %}:443 ssl spdy{% else %}:80{% endif %}; + listen {% if use_https == "yes" %} 443 ssl http2{% else %} 80{% endif %}; + listen [::]{% if use_https == "yes" %}:443 ssl http2{% else %}:80{% endif %}; root {{ nginx_root_prefix }}/{{ domain_name }};