Browse Source

set .swf files expires max

old-stable
Mitesh Shah 11 years ago
parent
commit
59c0758daf
  1. 2
      etc/nginx/common/locations.conf

2
etc/nginx/common/locations.conf

@ -15,7 +15,7 @@ location = /robots.txt {
}
# Cache Static Files For As Long As Possible
location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|swf)$ {
access_log off;
log_not_found off;
expires max;

Loading…
Cancel
Save