kopia lustrzana https://github.com/friendica/friendica
Merge pull request #587 from oohlaf/fixes
Add ico, ttf and svg to skip the front controllerpull/588/head
commit
3a89258d8e
|
@ -79,7 +79,7 @@ server {
|
||||||
# otherwise fall back to front controller
|
# otherwise fall back to front controller
|
||||||
# allow browser to cache them
|
# allow browser to cache them
|
||||||
# added .htm for advanced source code editor library
|
# 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;
|
expires 30d;
|
||||||
try_files $uri /index.php?q=$uri&$args;
|
try_files $uri /index.php?q=$uri&$args;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue