renamed proxyreversearr > proxyreversefix
This commit is contained in:
@@ -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
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user