diff --git a/nginx.tmpl b/nginx.tmpl index 5de8b6c..fe9ea9d 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -14,6 +14,7 @@ map $http_upgrade $proxy_connection { # HTTP 1.1 support proxy_http_version 1.1; +proxy_buffering off; proxy_set_header Host $http_host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $proxy_connection; @@ -67,7 +68,6 @@ server { gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; server_name {{ $host }}; - proxy_buffering off; error_log /proc/self/fd/2; access_log /proc/self/fd/1;