fix: eliminate SSE buffering through Nginx proxy

Add 2 KB padding comment after headers to push past proxy buffer
threshold, enable TCP_NODELAY on the socket, and remove erroneous
chunked_transfer_encoding off from Nginx that caused full response
buffering.
This commit is contained in:
vakabunga
2026-03-14 17:30:52 +03:00
parent e28d0f46d0
commit aaf8cacf75
2 changed files with 11 additions and 1 deletions

View File

@@ -15,7 +15,6 @@ server {
proxy_connect_timeout 5s;
proxy_read_timeout 600s;
proxy_buffering off;
chunked_transfer_encoding off;
client_max_body_size 15m;
}