]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add dashboard for tools
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 22 Apr 2020 20:48:39 +0000 (22:48 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 22 Apr 2020 20:48:39 +0000 (22:48 +0200)
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