From 097ff3d74306facad2af9859ca319901288ab23b Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 29 May 2019 00:28:19 +0200 Subject: [PATCH] roles/nginx/application: Fixed nginx variable configuration --- roles/nginx/application/templates/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/nginx/application/templates/nginx.conf b/roles/nginx/application/templates/nginx.conf index df4f81c..1bd7d28 100644 --- a/roles/nginx/application/templates/nginx.conf +++ b/roles/nginx/application/templates/nginx.conf @@ -56,6 +56,11 @@ http { # gzip_http_version 1.1; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; + map $http_upgrade $connection_upgrade { + default upgrade; + '' close; + } + ## # HTTP to HTTPs redirect ##