aboutsummaryrefslogtreecommitdiff
path: root/modules/common
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-09-14 19:09:11 +0000
committeraethrvmn <me@aethrvmn.gr>2025-09-14 19:09:11 +0000
commit83aad398555d7faf8bc7b3374722d28df4e3268c (patch)
treed645e060930743a7e7e62cffe3f74eb42f46d89c /modules/common
parentmoved to cosmic (diff)
fixed forgejo and aligned port in searx
Diffstat (limited to '')
-rw-r--r--modules/common/searx/default.nix11
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;
};
};
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.