diff options
Diffstat (limited to 'modules/private/websites/tools/tools/default.nix')
-rw-r--r-- | modules/private/websites/tools/tools/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/private/websites/tools/tools/default.nix b/modules/private/websites/tools/tools/default.nix index f88cf06..9fb2d03 100644 --- a/modules/private/websites/tools/tools/default.nix +++ b/modules/private/websites/tools/tools/default.nix | |||
@@ -102,6 +102,7 @@ in { | |||
102 | root = "/var/lib/ftp/tools.immae.eu"; | 102 | root = "/var/lib/ftp/tools.immae.eu"; |
103 | extraConfig = [ | 103 | extraConfig = [ |
104 | '' | 104 | '' |
105 | RedirectMatch 301 ^/vpn(.*)$ https://vpn.immae.eu$1 | ||
105 | RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 | 106 | RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 |
106 | RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse | 107 | RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse |
107 | 108 | ||
@@ -152,6 +153,8 @@ in { | |||
152 | 153 | ||
153 | RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse | 154 | RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse |
154 | 155 | ||
156 | RedirectMatch 301 ^/vpn(.*)$ https://vpn.immae.eu$1 | ||
157 | |||
155 | RedirectMatch 301 ^/(.*)$ https://tools.immae.eu/$1 | 158 | RedirectMatch 301 ^/(.*)$ https://tools.immae.eu/$1 |
156 | '' | 159 | '' |
157 | ]; | 160 | ]; |