Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable response buffering for /admin/logs (#197)
This patch disables buffering for the streaming endpoint /admin/logs by setting the special nginx proxy response header X-Accel-Buffering to "no". Even though the default buffering settings seems to work fairly well without too many buffer hiccups it is recommended to disable buffering for this type of streaming endpoints. As an alternative, buffering can be disabled in the nginx config by introducing a new /admin/logs location block, but since the scope here is very narrow it seems much simpler to just set the header.
- Loading branch information