nextcloud: deprecate oc.ifsr.de

This commit is contained in:
Rouven Seifert 2024-02-02 21:53:54 +01:00
parent e198002d60
commit 2e5f4fbe23
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

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