swarm-ui: stop nginx buffering the controller's SSE streams on /api/
This commit is contained in:
parent
08fec0b011
commit
8cb6273782
1 changed files with 4 additions and 0 deletions
|
|
@ -232,6 +232,10 @@ in
|
|||
auth_request_set $authelia_user $upstream_http_remote_user;
|
||||
proxy_set_header Remote-User $authelia_user;
|
||||
proxy_set_header Authorization "";
|
||||
# The SSE streams (terminal, agent state, subagent terminal)
|
||||
# must not sit in nginx's buffer. The controller's 15s
|
||||
# keep-alive keeps them under nginx's 60s default read timeout.
|
||||
proxy_buffering off;
|
||||
'';
|
||||
};
|
||||
"@swarm_api_unauthorized".extraConfig = ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue