diff --git a/templates/etc/nginx/nginx.conf.j2 b/templates/etc/nginx/nginx.conf.j2 index 6f8082f..706c525 100644 --- a/templates/etc/nginx/nginx.conf.j2 +++ b/templates/etc/nginx/nginx.conf.j2 @@ -28,6 +28,11 @@ http { access_log off; {% endif %} + map $http_upgrade $connection_upgrade { + default upgrade; + '' close; + } + sendfile on; tcp_nopush on; tcp_nodelay on;