From 614c2d624c4b8c10494e7e626799563e1bc42f3a Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 11 Apr 2024 10:47:13 +0200 Subject: [PATCH] bekkalokk/webmail: add redirects for old webmail locations --- hosts/bekkalokk/services/webmail/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/bekkalokk/services/webmail/default.nix b/hosts/bekkalokk/services/webmail/default.nix index a1d6186..b37d061 100644 --- a/hosts/bekkalokk/services/webmail/default.nix +++ b/hosts/bekkalokk/services/webmail/default.nix @@ -8,8 +8,11 @@ forceSSL = true; enableACME = true; kTLS = true; - locations."= /" = { - return = "302 https://webmail.pvv.ntnu.no/roundcube"; + locations = { + "= /".return = "302 https://webmail.pvv.ntnu.no/roundcube"; + "/afterlogic_lite".return = "302 https://webmail.pvv.ntnu.no/roundcube"; + "/squirrelmail".return = "302 https://webmail.pvv.ntnu.no/roundcube"; + "/rainloop".return = "302 https://webmail.pvv.ntnu.no/roundcube"; }; }; }