diff --git a/routes.go b/routes.go index 9bffd301..3875f432 100644 --- a/routes.go +++ b/routes.go @@ -92,7 +92,8 @@ func (h *handler) streamLogs(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/event-stream") w.Header().Set("Cache-Control", "no-cache") w.Header().Set("Connection", "keep-alive") - w.Header().Set("Transfer-Encoding", "chunked") + w.Header().Set("X-Accel-Buffering", "no") + log.Debugf("Starting to stream logs for %s", id) Loop: