Skip to content

Commit 99565f7

Browse files
author
Ric Harvey
authored
Merge pull request richarvey#187 from svlentink/master
more static resources cached
2 parents 88c13ba + 37bda26 commit 99565f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf/nginx-site-ssl.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ server {
6060
include fastcgi_params;
6161
}
6262

63-
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
63+
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|tiff|ttf|svg)$ {
6464
expires 5d;
6565
}
6666

conf/nginx-site.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ server {
5353
include fastcgi_params;
5454
}
5555

56-
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
56+
location ~* \.(jpg|jpeg|gif|png|css|js|ico|webp|tiff|ttf|svg)$ {
5757
expires 5d;
5858
}
5959

0 commit comments

Comments
 (0)