From e90f377a2bcfe70eabdd592dcb4fb8672a8cc7f4 Mon Sep 17 00:00:00 2001 From: schweby Date: Mon, 12 Apr 2021 19:38:05 +0200 Subject: [PATCH] hainich/hedgedoc: set domain to pad.hacc.earth --- hosts/hainich/services/codimd.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/hainich/services/codimd.nix b/hosts/hainich/services/codimd.nix index b4ea6ba..82e83ab 100644 --- a/hosts/hainich/services/codimd.nix +++ b/hosts/hainich/services/codimd.nix @@ -22,10 +22,10 @@ allowAnonymous = true; allowFreeURL = true; allowGravatar = false; - allowOrigin = [ "localhost" "pad.hacc.space" "fff-muc.de" ]; + allowOrigin = [ "localhost" "pad.hacc.space" "fff-muc.de" "pad.hacc.earth" ]; dbURL = "postgres://codimd:codimd@localhost:5432/codimd"; defaultPermission = "limited"; - domain = "pad.hacc.space"; + domain = "pad.hacc.earth"; host = "0.0.0.0"; protocolUseSSL = true; hsts.preload = false; @@ -63,7 +63,7 @@ }; }; - services.nginx.virtualHosts."pad.hacc.space" = { + services.nginx.virtualHosts."pad.hacc.earth" = { forceSSL = true; enableACME = true; locations."/" = {