mirror of
https://github.com/amir20/dozzle.git
synced 2026-01-01 02:27:25 +01:00
Fixes nginx buffer problem by adding X-Accel-Buffering: no
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user