From 83aad398555d7faf8bc7b3374722d28df4e3268c Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 14 Sep 2025 21:09:11 +0200 Subject: fixed forgejo and aligned port in searx --- modules/common/searx/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'modules/common/searx') 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; }; }; -- cgit v1.2.3