feat: add SSE stream for live pipeline status, add all 10 queues + DLQs, configure nginx for SSE
This commit is contained in:
@@ -18,6 +18,19 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# SSE stream endpoints — disable buffering for real-time delivery
|
||||
location /api/ops/pipeline/stream {
|
||||
proxy_pass http://query-api:8000;
|
||||
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;
|
||||
proxy_read_timeout 86400s;
|
||||
chunked_transfer_encoding off;
|
||||
}
|
||||
|
||||
# Proxy Symbol Registry (companies CRUD, sources, watchlists, aliases)
|
||||
location /registry/ {
|
||||
proxy_pass http://symbol-registry:8000/;
|
||||
|
||||
Reference in New Issue
Block a user