From e06d5917a2e6241b1f9c7ac1a7cdd7288a8702a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Roub=C3=AD=C4=8Dek?= Date: Wed, 23 Sep 2015 17:48:40 +0200 Subject: [PATCH] Use HTTP/2 instead of SPDY --- nginx.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.tmpl b/nginx.tmpl index 224d2b5..788ca90 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -117,7 +117,7 @@ server { server { server_name {{ $host }}; - listen 443 ssl spdy {{ $default_server }}; + listen 443 ssl http2 {{ $default_server }}; access_log /var/log/nginx/access.log vhost; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; @@ -185,7 +185,7 @@ server { {{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }} server { server_name {{ $host }}; - listen 443 ssl spdy {{ $default_server }}; + listen 443 ssl http2 {{ $default_server }}; access_log /var/log/nginx/access.log vhost; return 503;