From 3f453c7d8f79dcf2fba94287ec286d55eceb99d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 20 Dec 2019 01:55:08 +0100 Subject: Add ejabberd service and website --- modules/private/websites/tools/tools/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/private/websites/tools/tools/default.nix') diff --git a/modules/private/websites/tools/tools/default.nix b/modules/private/websites/tools/tools/default.nix index 5a0c196..02ff224 100644 --- a/modules/private/websites/tools/tools/default.nix +++ b/modules/private/websites/tools/tools/default.nix @@ -100,6 +100,7 @@ in { extraConfig = [ '' RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 + RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse DirectoryIndex index.php index.htm index.html @@ -126,7 +127,7 @@ in { services.websites.env.tools.vhostConfs.outils = { certName = "eldiron"; addToCerts = true; - hosts = [ "outils.immae.eu" ]; + hosts = [ "outils.immae.eu" "outils.immae.fr" ]; root = null; extraConfig = [ '' @@ -146,6 +147,8 @@ in { RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 + RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse + RedirectMatch 301 ^/(.*)$ https://tools.immae.eu/$1 '' ]; -- cgit v1.2.3