forked from M-Labs/it-infra
nixbld: increase AFWS WebSocket timeout
This commit is contained in:
parent
6c6f11ed7d
commit
0640cfad04
|
@ -789,8 +789,14 @@ in
|
||||||
};
|
};
|
||||||
"afws.m-labs.hk" = {
|
"afws.m-labs.hk" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/".proxyPass = "http://localhost:3771";
|
locations."/" = {
|
||||||
locations."/".proxyWebsockets = true;
|
proxyPass = "http://localhost:3771";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
extraConfig =
|
||||||
|
''
|
||||||
|
proxy_read_timeout 2h;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"git.m-labs.hk" = {
|
"git.m-labs.hk" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in New Issue