renamed proxyreversearr > proxyreversefix

This commit is contained in:
2024-11-13 22:45:51 -06:00
parent 13ffe469a5
commit 5a92a8c996
7 changed files with 8 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ let
proxyTarget = if useLocalhost then config.my.localhost else config.my.ips."${host}";
in
proxy { "/".proxyPass = "http://${proxyTarget}:${toString port}/"; };
proxyReverseArr =
proxyReverseFix =
host: port:
let
useLocalhost = host == config.networking.hostName;
@@ -84,6 +84,6 @@ in
mkOptions
proxy
proxyReverse
proxyReverseArr
proxyReverseFix
;
}