diff --git a/modules/services/korrosync/korrosync-hive.nix b/modules/services/korrosync/korrosync-hive.nix index 5bfef3a..21cb1f8 100644 --- a/modules/services/korrosync/korrosync-hive.nix +++ b/modules/services/korrosync/korrosync-hive.nix @@ -48,17 +48,17 @@ }; # Virtual host for korrosync - services.nginx.virtualHosts."${cfg.instanceFQDN}" = - { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://127.0.0.1:${toString cfg.localPort}"; - }; - } - // (lib.optionalAttrs cfg.blockUserCreation { - locations."/users/create".return = 403; - }); + services.nginx.virtualHosts."${cfg.instanceFQDN}" = { + forceSSL = true; + enableACME = true; + locations = + { + "/".proxyPass = "http://127.0.0.1:${toString cfg.localPort}"; + } + // (lib.optionalAttrs cfg.blockUserCreation { + "/users/create".return = 403; + }); + }; }; }; }