diff options
Diffstat (limited to 'modules/common/searx')
| -rw-r--r-- | modules/common/searx/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/common/searx/default.nix b/modules/common/searx/default.nix index ec4680f..970eda9 100644 --- a/modules/common/searx/default.nix +++ b/modules/common/searx/default.nix @@ -7,7 +7,7 @@ settings = { server = { - port = 3040; + port = 4000; bind_address = "127.0.0.1"; secret_key = "secret_key"; }; @@ -107,11 +107,12 @@ # Outgoing requests outgoing = { - request_timeout = 5.0; - max_request_timeout = 15.0; + request_timeout = 15.0; + max_request_timeout = 25.0; pool_connections = 100; pool_maxsize = 15; - enable_http2 = true; + useragent_suffix = "me@aethrvmn.gr"; + retries = 5; }; # Enabled plugins @@ -130,7 +131,7 @@ nginx.virtualHosts = { "search.internal" = { locations."/" = { - proxyPass = "http://127.0.0.1:3040"; + proxyPass = "http://127.0.0.1:4000"; proxyWebsockets = true; }; }; |
