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]