services/searxng: disable logging
This commit is contained in:
parent
9d5b02a112
commit
99a011514f
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, inputs, pkgs, tools, ... }:
|
{ config, inputs, lib, pkgs, tools, ... }:
|
||||||
let
|
let
|
||||||
port = config.portsStr.searxng;
|
port = config.portsStr.searxng;
|
||||||
in
|
in
|
||||||
|
@ -21,7 +21,10 @@ in
|
||||||
cache2 = "name=searxcache,items=2000,blocks=2000,blocksize=65536,bitmap=1";
|
cache2 = "name=searxcache,items=2000,blocks=2000,blocksize=65536,bitmap=1";
|
||||||
buffer-size = 65536;
|
buffer-size = 65536;
|
||||||
env = ["SEARXNG_SETTINGS_PATH=/run/searx/settings.yml"];
|
env = ["SEARXNG_SETTINGS_PATH=/run/searx/settings.yml"];
|
||||||
|
disable-logging = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."search.${tools.meta.domain}" = tools.nginx.vhosts.proxy "http://127.0.0.1:${port}";
|
services.nginx.virtualHosts."search.${tools.meta.domain}" = lib.recursiveUpdate (tools.nginx.vhosts.proxy "http://127.0.0.1:${port}") {
|
||||||
|
extraConfig = "access_log off;";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue