feat: disable proxy buffers in docker nginx config

This commit is contained in:
Bobby Wibowo 2022-07-14 20:46:09 +07:00
parent f0856239c3
commit 6e83e92c4b
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -1,6 +1,11 @@
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
# Disable buffering of responses from the proxied server
proxy_buffering off;
# Disable buffering of client request body
proxy_request_buffering off;
# Proxy headers
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";