Skip to content

Commit e560301

Browse files
committed
update nginx.conf.sample to serve json also.
1 parent 8ec9a3a commit e560301

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
@@ -102,7 +102,7 @@ location /static/ {
102102
rewrite ^/static/(version\d*/)?(.*)$ /static/$2 last;
103103
}
104104

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

0 commit comments

Comments
 (0)