From 78bd5aea1c66422f5e1ff816dfd0e71174d8db7f Mon Sep 17 00:00:00 2001 From: Paul Williams Date: Fri, 19 Oct 2018 11:51:33 -0600 Subject: [PATCH] enable http2, because it's that easy --- core/nginx/conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 7eaba003..3f2e9a42 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -48,8 +48,8 @@ http { # Only enable HTTPS if TLS is enabled with no error {% if TLS and not TLS_ERROR %} - listen 443 ssl; - listen [::]:443 ssl; + listen 443 ssl http2; + listen [::]:443 ssl http2; include /etc/nginx/tls.conf; ssl_session_cache shared:SSLHTTP:50m;