# Include inside the same server block as /explorer-api/ (or equivalent Go upstream). # SSE responses must not be buffered by nginx or clients stall until the ticker fires. location = /explorer-api/v1/mission-control/stream { proxy_pass http://127.0.0.1:8080; proxy_http_version 1.1; proxy_set_header Connection ''; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_buffering off; proxy_cache off; gzip off; proxy_read_timeout 3600s; add_header X-Accel-Buffering no; }