From: Ismaƫl Bouya Date: Wed, 22 Apr 2020 20:48:39 +0000 (+0200) Subject: Add dashboard for tools X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=commitdiff_plain;h=d10ecf142347c037a9359f88f5830796e9f9218c Add dashboard for tools --- 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 { 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] + DirectoryIndex index.php index.htm index.html AllowOverride all