aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-22 22:48:39 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-22 22:48:39 +0200
commitd10ecf142347c037a9359f88f5830796e9f9218c (patch)
tree314fc7153b379f379d8e58eae6f5a7877a721e34
parent3202103432740456167424a317c9d40508497a02 (diff)
downloadNix-d10ecf142347c037a9359f88f5830796e9f9218c.tar.gz
Nix-d10ecf142347c037a9359f88f5830796e9f9218c.tar.zst
Nix-d10ecf142347c037a9359f88f5830796e9f9218c.zip
Add dashboard for tools
-rw-r--r--modules/private/websites/tools/tools/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/private/websites/tools/tools/default.nix b/modules/private/websites/tools/tools/default.nix
index be2ee75..2fe4775 100644
--- a/modules/private/websites/tools/tools/default.nix
+++ b/modules/private/websites/tools/tools/default.nix
@@ -111,6 +111,10 @@ in {
111 RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1 111 RedirectMatch 301 ^/roundcube(.*)$ https://mail.immae.eu/roundcube$1
112 RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse 112 RedirectMatch 301 ^/jappix(.*)$ https://im.immae.fr/converse
113 113
114 RewriteEngine On
115 RewriteCond %{DOCUMENT_ROOT}/homer%{REQUEST_URI} -f
116 RewriteRule ^(.*)$ /homer$1 [QSA,L]
117
114 <Directory "/var/lib/ftp/tools.immae.eu"> 118 <Directory "/var/lib/ftp/tools.immae.eu">
115 DirectoryIndex index.php index.htm index.html 119 DirectoryIndex index.php index.htm index.html
116 AllowOverride all 120 AllowOverride all