From 1c446bec8d6bafbfa9de66eb419d0ef44f4016ad Mon Sep 17 00:00:00 2001 From: schweby Date: Thu, 15 Apr 2021 14:13:15 +0200 Subject: [PATCH] hainich/hedgedoc: redirect pad.hacc.earth to pad.hacc.space --- hosts/hainich/services/codimd.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/hainich/services/codimd.nix b/hosts/hainich/services/codimd.nix index b4ea6ba..d22c167 100644 --- a/hosts/hainich/services/codimd.nix +++ b/hosts/hainich/services/codimd.nix @@ -63,6 +63,12 @@ }; }; + services.nginx.virtualHosts."pad.hacc.earth" = { + enableACME = true; + forceSSL = true; + globalRedirect = "pad.hacc.space"; + }; + services.nginx.virtualHosts."pad.hacc.space" = { forceSSL = true; enableACME = true;