From 458f832b831b07d3e44a227043664739dfdb42cb Mon Sep 17 00:00:00 2001 From: Moritz 'e1mo' Fromm Date: Thu, 3 Aug 2023 16:12:42 +0200 Subject: [PATCH] Add tickets.chaos.jetzt redirect With all https://tickets.chaos.jetzt/shortcode links will redirect to the appropriate ticket-shop without a need for us to place manual redirect links. --- services/website.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/website.nix b/services/website.nix index b6765cc..4820024 100644 --- a/services/website.nix +++ b/services/website.nix @@ -59,6 +59,12 @@ in { "/.well-known/matrix/".alias = matrixWellKnownDir + "/"; }; }; + + virtualHosts."tickets.${baseDomain}" = { + enableACME = true; + forceSSL = true; + locations."/".return = "307 https://tickets.chaostreff-flensburg.de/chaos.jetzt$request_uri"; + }; }; users.users."web-deploy" = {