From 325ff02a8723fa7c298f325ab39f64035ea23ed7 Mon Sep 17 00:00:00 2001 From: NullBite Date: Sat, 29 Jun 2024 18:33:25 -0400 Subject: [PATCH] rpi4: possibly fix searx 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 fb7183b..9f94446 100644 --- a/hosts/rpi4/services.nix +++ b/hosts/rpi4/services.nix @@ -119,8 +119,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