How to disable buffering on the app platform?

I’ve deployed an app on the app platform that makes use of server-sent events. Buffering (probably nginx proxy_buffers) causes a large delay. Any way to disable buffering to get rid of the delay?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey there!

If you are using nginx for your webserver in your App Platform build you should be able to add your own custom nginx.conf file and modify those settings. However the recommended route for this would be to setup your app as a Dockerfile which would allow you to customize your own nginx settings.

Docker Dev Guide

Hope it helps! Nate