]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/tools/tools/default.nix
Add dashboard for tools
[perso/Immae/Config/Nix.git] / modules / private / websites / tools / tools / default.nix
index be2ee755ae5c1feccd1db3c85ae2a9f5312b24cc..2fe477592e580d38585d8a4c1bcb7cb78ff9e8dd 100644 (file)
@@ -111,6 +111,10 @@ in {
           RedirectMatch 301 ^/roundcube(.*)$   https://mail.immae.eu/roundcube$1
           RedirectMatch 301 ^/jappix(.*)$      https://im.immae.fr/converse
 
+          RewriteEngine On
+          RewriteCond %{DOCUMENT_ROOT}/homer%{REQUEST_URI} -f
+          RewriteRule ^(.*)$ /homer$1 [QSA,L]
+
           <Directory "/var/lib/ftp/tools.immae.eu">
             DirectoryIndex index.php index.htm index.html
             AllowOverride all