<div dir="ltr"><div dir="ltr"><div>I use software that runs a speed test via websockets. When proxying this websocket connection through Nginx, the 'download' portion of the test is inaccurate.</div><div><br></div><div>My theory is that this is due to Nginx buffering the response from the backend server, thus the timer on the backend server reports an inaccurate value compared to when it's not proxied.</div><div><br></div><div>I've tried the following settings at both the location and server levels of my configuration:</div><div><br></div><div>    proxy_buffering off;</div><div>    proxy_ignore_headers X-Accel-Buffering;</div><div><br></div><div>However, this doesn't fix the problem. I've confirmed the functionality works correctly when it's not being proxied via Nginx, so wondering if A) there is some other cause of the issue besides the proxy buffer, or B) I'm not using the proxy buffer settings correctly?</div></div></div>