Closed ezhang887 closed 3 years ago
Adds no buffering header for SSEs. This should make it work with nginx. https://serverfault.com/a/801629
Tested locally by setting up nginx and pointing on-demand's BROADWAY_API_URL to the nginx url instead of directly to the server.
BROADWAY_API_URL
illinois-241/broadway-api
Adds no buffering header for SSEs. This should make it work with nginx. https://serverfault.com/a/801629
Tested locally by setting up nginx and pointing on-demand's
BROADWAY_API_URL
to the nginx url instead of directly to the server.illinois-241/broadway-api
image, on-demand doesn't receive any heartbeats (just like how it is with the production version).