mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-12-26 04:26:31 +00:00
Raise proxy_buffering statement to http level
This commit is contained in:
parent
5b9e8c4554
commit
e1bbe8cde0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user