rpi4: fix searxng auth

This commit is contained in:
NullBite 2024-06-29 18:33:25 -04:00
parent 818f1b6365
commit 1e4848eee6
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -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