This makes themes that rely on the correct mimetype work.
# otherwise fall back to front controller
# allow browser to cache them
# added .htm for advanced source code editor library
# 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;
}
expires 30d;
try_files $uri /index.php?q=$uri&$args;
}