fix: fix typo
This commit is contained in:
parent
fa30b1468d
commit
bd8ec1736f
3 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ rec {
|
|||
};
|
||||
"remoteProxy" = {
|
||||
ip = ips.remoteProxy;
|
||||
}
|
||||
};
|
||||
"continuwuity" = {
|
||||
ip = ips.pi;
|
||||
reverse_proxy = {
|
||||
|
|
|
|||
|
|
@ -16,5 +16,5 @@ rec {
|
|||
type = "none";
|
||||
source = "${ssd.path}/continuwuity";
|
||||
options = ["bind"];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ let
|
|||
locationList = if service.reverse_proxy.endpoints == null
|
||||
then ["/"]
|
||||
else service.reverse_proxy.endpoints;
|
||||
locationsData = builtins listToAttrs (map (endpointName: {
|
||||
locationsData = builtins.listToAttrs (map (endpointName: {
|
||||
name = endpointName;
|
||||
value = {
|
||||
proxyPass = "http://127.0.0.1:${builtins.toString service.reverse_proxy.port}/";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue