Skip to content

Commit

Permalink
Add SSE proxy timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
kenellorando committed Feb 25, 2023
1 parent a02c1bc commit 7228720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ http {
access_log off;
# Server-sent event API needs special configuration to get through the proxy.
location /api/radiodata/sse {
proxy_read_timeout 86400;
proxy_send_timeout 86400;
proxy_set_header Connection '';
proxy_http_version 1.1;
chunked_transfer_encoding off;
Expand Down

0 comments on commit 7228720

Please sign in to comment.