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" = {
|
"remoteProxy" = {
|
||||||
ip = ips.remoteProxy;
|
ip = ips.remoteProxy;
|
||||||
}
|
};
|
||||||
"continuwuity" = {
|
"continuwuity" = {
|
||||||
ip = ips.pi;
|
ip = ips.pi;
|
||||||
reverse_proxy = {
|
reverse_proxy = {
|
||||||
|
|
|
||||||
|
|
@ -16,5 +16,5 @@ rec {
|
||||||
type = "none";
|
type = "none";
|
||||||
source = "${ssd.path}/continuwuity";
|
source = "${ssd.path}/continuwuity";
|
||||||
options = ["bind"];
|
options = ["bind"];
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ let
|
||||||
locationList = if service.reverse_proxy.endpoints == null
|
locationList = if service.reverse_proxy.endpoints == null
|
||||||
then ["/"]
|
then ["/"]
|
||||||
else service.reverse_proxy.endpoints;
|
else service.reverse_proxy.endpoints;
|
||||||
locationsData = builtins listToAttrs (map (endpointName: {
|
locationsData = builtins.listToAttrs (map (endpointName: {
|
||||||
name = endpointName;
|
name = endpointName;
|
||||||
value = {
|
value = {
|
||||||
proxyPass = "http://127.0.0.1:${builtins.toString service.reverse_proxy.port}/";
|
proxyPass = "http://127.0.0.1:${builtins.toString service.reverse_proxy.port}/";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue