fix: fix typo

This commit is contained in:
Katharina Heidenreich 2026-03-14 13:02:12 +01:00
parent fa30b1468d
commit bd8ec1736f
3 changed files with 3 additions and 3 deletions

View file

@ -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 = {

View file

@ -16,5 +16,5 @@ rec {
type = "none"; type = "none";
source = "${ssd.path}/continuwuity"; source = "${ssd.path}/continuwuity";
options = ["bind"]; options = ["bind"];
} };
} }

View file

@ -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}/";