switch to searxng
searx is basically unmaintained
This commit is contained in:
parent
f58c419cdb
commit
53c3d49f2f
@ -273,6 +273,7 @@
|
|||||||
services.searx = {
|
services.searx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = config.secrets.environments.searx;
|
environmentFile = config.secrets.environments.searx;
|
||||||
|
package = pkgs.searxng;
|
||||||
|
|
||||||
# Use nginx+uWSGI
|
# Use nginx+uWSGI
|
||||||
runInUwsgi = true;
|
runInUwsgi = true;
|
||||||
@ -372,7 +373,7 @@
|
|||||||
include ${pkgs.nginx}/conf/uwsgi_params;
|
include ${pkgs.nginx}/conf/uwsgi_params;
|
||||||
uwsgi_pass unix:/run/searx/uwsgi.sock;
|
uwsgi_pass unix:/run/searx/uwsgi.sock;
|
||||||
'';
|
'';
|
||||||
locations."/srx/static/".alias = "${pkgs.searx}/share/static/";
|
locations."/srx/static/".alias = "${config.services.searx.package}/share/static/";
|
||||||
|
|
||||||
# Git server
|
# Git server
|
||||||
locations."/git/".proxyPass = "http://localhost:3000/";
|
locations."/git/".proxyPass = "http://localhost:3000/";
|
||||||
|
Loading…
Reference in New Issue
Block a user