nextcloud: deprecate oc.ifsr.de
This commit is contained in:
parent
e198002d60
commit
2e5f4fbe23
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue