From 768121aaa36794c16242f2dca43f3f6cebe113c3 Mon Sep 17 00:00:00 2001 From: NullBite Date: Sat, 29 Jun 2024 17:57:06 -0400 Subject: [PATCH] rpi4: workaround for firefox redirect cache my web browser is stupid and it is redirecting searx.protogen.io to protogen.io and this fixes it --- hosts/rpi4/services.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/rpi4/services.nix b/hosts/rpi4/services.nix index 849729d..5eae2cb 100644 --- a/hosts/rpi4/services.nix +++ b/hosts/rpi4/services.nix @@ -145,6 +145,9 @@ serverAliases = [ "x.protogen.io" ]; useACMEHost = "protogen.io"; forceSSL = true; + locations."/search" = { + return = "302 https://searx.protogen.io"; + }; locations."/" = { root = "/srv/http"; extraConfig = ''