Merge pull request #187 from svlentink/master
more static resources cached
This commit is contained in:
@@ -60,7 +60,7 @@ server {
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
|
||||
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|tiff|ttf|svg)$ {
|
||||
expires 5d;
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ server {
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
|
||||
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|tiff|ttf|svg)$ {
|
||||
expires 5d;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user