searxng: switch to uwsgi mode

This commit is contained in:
notohh 2023-10-17 00:22:00 -04:00
parent 898a5a9930
commit dd533805b1
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -8,7 +8,22 @@
services.searx = { services.searx = {
package = pkgs.searxng; package = pkgs.searxng;
enable = true; enable = true;
runInUwsgi = true;
uwsgiConfig = {
http = ":8100";
};
environmentFile = config.sops.secrets.searxng-secret.path; environmentFile = config.sops.secrets.searxng-secret.path;
limiterSettings = {
botdetection = {
ip_lists = {
pass_ip = [
"192.168.0.0/16"
"172.16.0.0/12"
"10.0.0.0/8"
];
};
};
};
settings = { settings = {
general = { general = {
debug = false; debug = false;