From 1f450f35f8d299357c0820848617d640361c3dc6 Mon Sep 17 00:00:00 2001 From: quitte Date: Wed, 23 Aug 2023 16:34:42 +0200 Subject: [PATCH] wiki: fix images --- modules/wiki.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/wiki.nix b/modules/wiki.nix index a30fdd5..3c29841 100644 --- a/modules/wiki.nix +++ b/modules/wiki.nix @@ -30,6 +30,7 @@ in extraConfig = '' RewriteEngine On RewriteCond %{REQUEST_URI} !^/rest\.php + RewriteCond %{REQUEST_URI} !^/images RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php [L]