commit ab509feba1424f4c9cc2274c86e75d209ab5f827 parent 97b67e1397e5493f34a9c83ec780bd0f3e0a4403 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Wed, 3 Sep 2025 17:00:41 +0200 feat(webssh): increase ws timeout Diffstat:
M | hcl/default/webssh/templates/nginx.conf.tmpl | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/hcl/default/webssh/templates/nginx.conf.tmpl b/hcl/default/webssh/templates/nginx.conf.tmpl @@ -23,6 +23,10 @@ server { # WebSocket proxying # https://nginx.org/en/docs/http/websocket.html proxy_http_version 1.1; + # timeout for reading a response from the proxied server. If the + # proxied server does not transmit anything within this time, + # the connection is closed. + proxy_read_timeout 3600; # 1h timeout proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }