Skip to content

Commit daf0883

Browse files
authored
Merge pull request #144 from ruby-no-kai/cache-woff2
implied_cache_control: woff2
2 parents 8cd7ac9 + f89f019 commit daf0883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/nginx.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ http {
5656
"~^(?P<path>[^?]*)(\?.*)?$" $path;
5757
}
5858
map $request_uri_path $implied_cache_control {
59-
"~\.(?:png|jpg|svg|webp|ttf|css|js|js\.map)$" "public, max-age=31536000";
59+
"~\.(?:png|jpg|svg|webp|ttf|woff2|css|js|js\.map)$" "public, max-age=31536000";
6060
default "public, max-age=0, s-maxage=31536000";
6161
}
6262

0 commit comments

Comments
 (0)