System Gen28 @ 2026-08-08-01:06:03 by jonas@harbor

This commit is contained in:
2026-08-08 01:06:04 +02:00
parent a4ba6a49b6
commit aac8ea00fb
@@ -48,17 +48,17 @@
}; };
# Virtual host for korrosync # Virtual host for korrosync
services.nginx.virtualHosts."${cfg.instanceFQDN}" = services.nginx.virtualHosts."${cfg.instanceFQDN}" = {
{
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { locations =
proxyPass = "http://127.0.0.1:${toString cfg.localPort}"; {
}; "/".proxyPass = "http://127.0.0.1:${toString cfg.localPort}";
} }
// (lib.optionalAttrs cfg.blockUserCreation { // (lib.optionalAttrs cfg.blockUserCreation {
locations."/users/create".return = 403; "/users/create".return = 403;
}); });
}; };
}; };
};
} }