You've already forked nginxsnippets
initial commit
This commit is contained in:
6
cache-statics.conf
Normal file
6
cache-statics.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|woff2|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
|
||||
expires max;
|
||||
add_header Cache-Control "public";
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
Reference in New Issue
Block a user