diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-20 01:55:08 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-20 04:12:30 +0100 |
commit | 3f453c7d8f79dcf2fba94287ec286d55eceb99d1 (patch) | |
tree | e7a2531a08d7b8f514f2a1b8ec9914ca60623beb /modules/private/websites/tools/tools/default.nix | |
parent | 8cf37c75c3c744717327344ff982a62d787c1dc7 (diff) | |
download | Nix-3f453c7d8f79dcf2fba94287ec286d55eceb99d1.tar.gz Nix-3f453c7d8f79dcf2fba94287ec286d55eceb99d1.tar.zst Nix-3f453c7d8f79dcf2fba94287ec286d55eceb99d1.zip |
Add ejabberd service and website
Diffstat (limited to 'modules/private/websites/tools/tools/default.nix')
-rw-r--r-- | modules/private/websites/tools/tools/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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 { | |||
100 | extraConfig = [ | 100 | extraConfig = [ |
101 | '' | 101 | '' |
102 | RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 | 102 | RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 |
103 | RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse | ||
103 | 104 | ||
104 | <Directory "/var/lib/ftp/tools.immae.eu"> | 105 | <Directory "/var/lib/ftp/tools.immae.eu"> |
105 | DirectoryIndex index.php index.htm index.html | 106 | DirectoryIndex index.php index.htm index.html |
@@ -126,7 +127,7 @@ in { | |||
126 | services.websites.env.tools.vhostConfs.outils = { | 127 | services.websites.env.tools.vhostConfs.outils = { |
127 | certName = "eldiron"; | 128 | certName = "eldiron"; |
128 | addToCerts = true; | 129 | addToCerts = true; |
129 | hosts = [ "outils.immae.eu" ]; | 130 | hosts = [ "outils.immae.eu" "outils.immae.fr" ]; |
130 | root = null; | 131 | root = null; |
131 | extraConfig = [ | 132 | extraConfig = [ |
132 | '' | 133 | '' |
@@ -146,6 +147,8 @@ in { | |||
146 | 147 | ||
147 | RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 | 148 | RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 |
148 | 149 | ||
150 | RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse | ||
151 | |||
149 | RedirectMatch 301 ^/(.*)$ https://tools.immae.eu/$1 | 152 | RedirectMatch 301 ^/(.*)$ https://tools.immae.eu/$1 |
150 | '' | 153 | '' |
151 | ]; | 154 | ]; |