rpi4: fix searxng auth

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

View File

@ -120,8 +120,11 @@
port = 8088; port = 8088;
in mkProxy { auth = true; inherit port; extraConfig = { in mkProxy { auth = true; inherit port; extraConfig = {
locations = lib.genAttrs [ "/favicon.ico" "/autocompleter" "/opensearch.xml" ] (attr: { locations = lib.genAttrs [ "/favicon.ico" "/autocompleter" "/opensearch.xml" ] (attr: {
basicAuthFile = lib.mkForce null; proxyPass = "http://localhost:${builtins.toString port}";
basicAuth = lib.mkForce { }; proxyWebsockets = true;
extraConfig = ''
auth_basic off;
'';
}); });
};}; };};
# nbt.sh alias proot.link 8090 # nbt.sh alias proot.link 8090