From 0640cfad04ef222a49b049d9ec57ebdf997d9dfb Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 7 Apr 2023 16:02:07 +0800 Subject: [PATCH] nixbld: increase AFWS WebSocket timeout --- nixbld-etc-nixos/configuration.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index df36eb9..2363d42 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -789,8 +789,14 @@ in }; "afws.m-labs.hk" = { enableACME = true; - locations."/".proxyPass = "http://localhost:3771"; - locations."/".proxyWebsockets = true; + locations."/" = { + proxyPass = "http://localhost:3771"; + proxyWebsockets = true; + extraConfig = + '' + proxy_read_timeout 2h; + ''; + }; }; "git.m-labs.hk" = { forceSSL = true;