parent
025b203b19
commit
d84f80ac98
|
@ -17,7 +17,6 @@ location ~* \.(?:manifest|appcache|html?|xml|json)$ {
|
|||
# Feed
|
||||
location ~* \.(?:rss|atom)$ {
|
||||
expires 1h;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
# Media: images, icons, video, audio, HTC
|
||||
|
@ -31,7 +30,6 @@ location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
|
|||
location ~* \.(?:css|js)$ {
|
||||
expires 1y;
|
||||
access_log off;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
# WebFonts
|
||||
|
@ -39,5 +37,4 @@ location ~* \.(?:css|js)$ {
|
|||
# location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ {
|
||||
# expires 1M;
|
||||
# access_log off;
|
||||
# add_header Cache-Control "public";
|
||||
# }
|
||||
|
|
Loading…
Reference in New Issue