Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 8260aa3

Browse files
committed
Add Cache-Control header to nginx sample configuration
1 parent 8e17015 commit 8260aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ location /static/ {
109109
rewrite ^/static/(version\d*/)?(.*)$ /static/$2 last;
110110
}
111111

112-
location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2|json)$ {
112+
location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2|html|json)$ {
113113
add_header Cache-Control "public";
114114
add_header X-Frame-Options "SAMEORIGIN";
115115
expires +1y;

0 commit comments

Comments
 (0)