X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Ftools%2Ftools%2Fdefault.nix;h=02ff224f9a563147485f145c21b277b72fabde85;hp=5a0c196737a3a4bd4472ca9aac5f1b929923551f;hb=3f453c7d8f79dcf2fba94287ec286d55eceb99d1;hpb=8cf37c75c3c744717327344ff982a62d787c1dc7 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 '' ];