rpi4: fix searxng redirect

This commit is contained in:
NullBite 2024-06-29 17:57:06 -04:00
parent 765547b9f7
commit 818f1b6365
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -115,6 +115,7 @@
# octoprint (proxy_addr is 10.10.1.8)
"print.protogen.io" = mkProxy { auth = true; upstream = "http://10.10.1.8:80"; };
# searx auth 8088 (none for /favicon.ico, /autocompleter, /opensearch.xml)
"search.protogen.io".location."/".return = "302 https://searx.protogen.io$request_uri";
"searx.protogen.io" = let
port = 8088;
in mkProxy { auth = true; inherit port; extraConfig = {