diff --git a/systems/hetzner/nginx.nix b/systems/hetzner/nginx.nix index b04a044..e693797 100644 --- a/systems/hetzner/nginx.nix +++ b/systems/hetzner/nginx.nix @@ -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 = [