mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 19:16:50 +01:00
add searx server
This commit is contained in:
parent
e2e71c5b33
commit
70aa92d173
1 changed files with 13 additions and 0 deletions
|
@ -49,6 +49,11 @@
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
"search.missing.ninja" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://unix:${config.services.searx.uwsgiConfig.socket}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -74,6 +79,14 @@
|
|||
max_input_time = 300
|
||||
'';
|
||||
|
||||
services.searx = {
|
||||
enable = true;
|
||||
runInUwsgi = true;
|
||||
uwsgiConfig = {
|
||||
socket = "/run/searx/searx.sock";
|
||||
};
|
||||
};
|
||||
|
||||
services.wordpress.sites."test.missing.ninja" =
|
||||
with self.packages.${config.nixpkgs.hostPlatform.system}; {
|
||||
themes = [
|
||||
|
|
Loading…
Reference in a new issue