This adds a new HAProxy backend template templates/hap_backend_websocket.tpl, selectable per-domain via the template_override column.
It renders both {name}-backend and {name}-sse-backend with no option http-server-close plus 6h server/tunnel/http-keep-alive timeouts, so persistent WebSocket/streaming connections (e.g. Jitsi /xmpp-websocket, /colibri-ws) aren't cut by the default 10m server timeout / http-server-close behavior.
This was applied live to the running container for jitsi.dnspegasus.net; this PR makes it survive image rebuilds.
Variable names (name, servers, server.server_name/server_address/server_port/server_options) and the resolvers docker_dns init-addr last,libc,none server line match the existing templates/hap_backend.tpl conventions.
This adds a new HAProxy backend template `templates/hap_backend_websocket.tpl`, selectable per-domain via the `template_override` column.
It renders both `{name}-backend` and `{name}-sse-backend` with `no option http-server-close` plus 6h server/tunnel/http-keep-alive timeouts, so persistent WebSocket/streaming connections (e.g. Jitsi `/xmpp-websocket`, `/colibri-ws`) aren't cut by the default 10m server timeout / `http-server-close` behavior.
This was applied live to the running container for `jitsi.dnspegasus.net`; this PR makes it survive image rebuilds.
Variable names (`name`, `servers`, `server.server_name/server_address/server_port/server_options`) and the `resolvers docker_dns init-addr last,libc,none` server line match the existing `templates/hap_backend.tpl` conventions.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This adds a new HAProxy backend template
templates/hap_backend_websocket.tpl, selectable per-domain via thetemplate_overridecolumn.It renders both
{name}-backendand{name}-sse-backendwithno option http-server-closeplus 6h server/tunnel/http-keep-alive timeouts, so persistent WebSocket/streaming connections (e.g. Jitsi/xmpp-websocket,/colibri-ws) aren't cut by the default 10m server timeout /http-server-closebehavior.This was applied live to the running container for
jitsi.dnspegasus.net; this PR makes it survive image rebuilds.Variable names (
name,servers,server.server_name/server_address/server_port/server_options) and theresolvers docker_dns init-addr last,libc,noneserver line match the existingtemplates/hap_backend.tplconventions.