From 1e4848eee6ef1004c39eeb1a219bd4255a8ffa1b Mon Sep 17 00:00:00 2001 From: NullBite Date: Sat, 29 Jun 2024 18:33:25 -0400 Subject: [PATCH] rpi4: fix searxng auth --- hosts/rpi4/services.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/rpi4/services.nix b/hosts/rpi4/services.nix index 13bdfba..0f48c0b 100644 --- a/hosts/rpi4/services.nix +++ b/hosts/rpi4/services.nix @@ -120,8 +120,11 @@ port = 8088; in mkProxy { auth = true; inherit port; extraConfig = { locations = lib.genAttrs [ "/favicon.ico" "/autocompleter" "/opensearch.xml" ] (attr: { - basicAuthFile = lib.mkForce null; - basicAuth = lib.mkForce { }; + proxyPass = "http://localhost:${builtins.toString port}"; + proxyWebsockets = true; + extraConfig = '' + auth_basic off; + ''; }); };}; # nbt.sh alias proot.link 8090