add mirror
This commit is contained in:
parent
326852c21f
commit
1310c4c7eb
3 changed files with 46 additions and 3 deletions
|
|
@ -4,12 +4,19 @@
|
|||
package = pkgs.searxng;
|
||||
runInUwsgi = true;
|
||||
settings = {
|
||||
# server.port = 8080;
|
||||
# server.bind_addres = "0.0.0.0";
|
||||
server.secret_key = "6f6bf40218f239718cacbc2cd837792be828e840b48ac72a8e0a9d0ddb9d0b00";
|
||||
};
|
||||
uwsgiConfig = {
|
||||
http = ":8080";
|
||||
socket = "/run/searx/searx.sock";
|
||||
chmod-socket = "660";
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."search.zackmyers.io" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/searx" = {
|
||||
uwsgiPass = "unix://run/searx/searx.sock";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue