From 492a42eebedbffc7baa89619e1f8969f32385f68 Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Tue, 15 Jan 2013 10:28:24 +0100 Subject: [PATCH] Add ttf and svg to skip the front controller This makes themes that rely on the correct mimetype work. --- mods/sample-nginx.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/sample-nginx.config b/mods/sample-nginx.config index 0fb31efffc..b99fafa80c 100644 --- a/mods/sample-nginx.config +++ b/mods/sample-nginx.config @@ -79,7 +79,7 @@ server { # otherwise fall back to front controller # allow browser to cache them # added .htm for advanced source code editor library - location ~* \.(jpg|jpeg|gif|png|css|js|htm|html)$ { + location ~* \.(jpg|jpeg|gif|png|ico|css|js|htm|html|ttf|svg)$ { expires 30d; try_files $uri /index.php?q=$uri&$args; } -- 2.39.5