Disable proxy buffering for websockets

thehunmonkgroup nginx-forum at forum.nginx.org
Tue Dec 18 16:58:49 UTC 2018


I could deal with *some* inaccuracy, but the results are completely out of
whack. Downloading 256KB of data via the websocket over a poor DSL
connection happens near instantaneously from the websocket server's point of
view, which to me indicates that Nginx is consuming all that data in a
buffer instead of passing it along to the client without buffering.

You mentioned that there's a proxy buffer within Nginx in the case of
websockets, is there a setting to disable that? The ' proxy_buffering off;'
setting I mentioned previously didn't seem to do it.

Really hoping there's another setting I can take advantage of here...

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282399,282413#msg-282413



More information about the nginx mailing list