nixbld: increase AFWS WebSocket timeout

This commit is contained in:
Sebastien Bourdeauducq 2023-04-07 16:02:07 +08:00
parent 6c6f11ed7d
commit 0640cfad04
1 changed files with 8 additions and 2 deletions

View File

@ -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;