etheroute-lon01: set more finegrained timeouts
This commit is contained in:
parent
da6c3854bd
commit
a51b864d0d
1 changed files with 11 additions and 1 deletions
|
@ -191,6 +191,10 @@ in {
|
||||||
"user"
|
"user"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
timeout_read = "0"; # We have some long-lived connections...
|
||||||
|
timeout_write = "0";
|
||||||
|
timeout_idle = "0";
|
||||||
|
|
||||||
databroker_storage_type = "redis";
|
databroker_storage_type = "redis";
|
||||||
databroker_storage_connection_string = "redis://127.0.0.1:6379/15";
|
databroker_storage_connection_string = "redis://127.0.0.1:6379/15";
|
||||||
|
|
||||||
|
@ -202,6 +206,9 @@ in {
|
||||||
baseConfig = {
|
baseConfig = {
|
||||||
allowed_domains = [ "lukegb.com" ];
|
allowed_domains = [ "lukegb.com" ];
|
||||||
pass_identity_headers = true;
|
pass_identity_headers = true;
|
||||||
|
timeout_read = "30s";
|
||||||
|
timeout_write = "0";
|
||||||
|
timeout_idle = "5m";
|
||||||
};
|
};
|
||||||
service = server: hostName: extraConfig: baseConfig // {
|
service = server: hostName: extraConfig: baseConfig // {
|
||||||
from = "https://${hostName}";
|
from = "https://${hostName}";
|
||||||
|
@ -228,8 +235,11 @@ in {
|
||||||
(secureService "swann:8443" "unifi.int.lukegb.com" {
|
(secureService "swann:8443" "unifi.int.lukegb.com" {
|
||||||
tls_skip_verify = true;
|
tls_skip_verify = true;
|
||||||
allow_websockets = true;
|
allow_websockets = true;
|
||||||
|
timeout_read = "0";
|
||||||
})
|
})
|
||||||
(service "blade-tuvok:7480" "objdump.zxcvbnm.ninja" (public {}))
|
(service "blade-tuvok:7480" "objdump.zxcvbnm.ninja" (public {
|
||||||
|
timeout_read = "30m"; # Uploads can take a while; bump the timeout.
|
||||||
|
}))
|
||||||
(secureService "totoro" "invoices.lukegb.com" (public {
|
(secureService "totoro" "invoices.lukegb.com" (public {
|
||||||
regex = "^/((third_party|ajax|client_area|pdf)/.*|[a-zA-Z0-9]{8})$";
|
regex = "^/((third_party|ajax|client_area|pdf)/.*|[a-zA-Z0-9]{8})$";
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in a new issue