rpi4: fix searxng auth
This commit is contained in:
parent
818f1b6365
commit
1e4848eee6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user