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 ##