switch to searxng
This commit is contained in:
parent
8a9b3e3763
commit
983e13a9be
1 changed files with 16 additions and 11 deletions
|
@ -7,21 +7,26 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
access_log /dev/null;
|
access_log /dev/null;
|
||||||
error_log /dev/null;
|
proxy_connect_timeout 90s;
|
||||||
proxy_connect_timeout 60s;
|
proxy_send_timeout 90s;
|
||||||
proxy_send_timeout 60s;
|
proxy_read_timeout 90s;
|
||||||
proxy_read_timeout 60s;
|
proxy_busy_buffers_size 512k;
|
||||||
|
proxy_buffers 4 512k;
|
||||||
|
proxy_buffer_size 256k;
|
||||||
'';
|
'';
|
||||||
locations."/" = { proxyPass = "http://localhost:8888"; };
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8888";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.searx = {
|
virtualisation.oci-containers.containers.searxng = {
|
||||||
enable = true;
|
image =
|
||||||
settings = {
|
"searxng/searxng@sha256:650c0b183a129e10c2493126bb27c3541ffebbead6e0255fab91831457211b06";
|
||||||
server.bind_address = "127.0.0.1";
|
volumes = [ ];
|
||||||
server.secret_key = "notsosecrettbh";
|
environment = { BASE_URL = "https://search.cyplo.dev"; };
|
||||||
};
|
ports = [ "8888:8080" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue