]> git.mxchange.org Git - friendica.git/commitdiff
Add ttf and svg to skip the front controller
authorOlaf Conradi <olaf@conradi.org>
Tue, 15 Jan 2013 09:28:24 +0000 (10:28 +0100)
committerOlaf Conradi <olaf@conradi.org>
Tue, 15 Jan 2013 09:28:24 +0000 (10:28 +0100)
This makes themes that rely on the correct mimetype work.

mods/sample-nginx.config

index 0fb31efffc0a042cdc8ea916c3177f0046c6b307..b99fafa80cde915dbf131edcecf1517f9aea4113 100644 (file)
@@ -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;
   }