diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index 23ea3ea..38177f3 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -1,7 +1,6 @@ { config, pkgs, lib, ... }: let domain = "nc.${config.networking.domain}"; - legacy_domain = "oc.${config.networking.domain}"; in { sops.secrets = { @@ -52,11 +51,6 @@ in enableACME = true; forceSSL = true; }; - nginx.virtualHosts.${legacy_domain} = { - enableACME = true; - forceSSL = true; - locations."/".return = "301 https://nc.ifsr.de"; - }; }; # ensure that postgres is running *before* running the setup