parent
025b203b19
commit
d84f80ac98
h5bp/location
|
@ -17,7 +17,6 @@ location ~* \.(?:manifest|appcache|html?|xml|json)$ {
|
||||||
# Feed
|
# Feed
|
||||||
location ~* \.(?:rss|atom)$ {
|
location ~* \.(?:rss|atom)$ {
|
||||||
expires 1h;
|
expires 1h;
|
||||||
add_header Cache-Control "public";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Media: images, icons, video, audio, HTC
|
# 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)$ {
|
location ~* \.(?:css|js)$ {
|
||||||
expires 1y;
|
expires 1y;
|
||||||
access_log off;
|
access_log off;
|
||||||
add_header Cache-Control "public";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# WebFonts
|
# WebFonts
|
||||||
|
@ -39,5 +37,4 @@ location ~* \.(?:css|js)$ {
|
||||||
# location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ {
|
# location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ {
|
||||||
# expires 1M;
|
# expires 1M;
|
||||||
# access_log off;
|
# access_log off;
|
||||||
# add_header Cache-Control "public";
|
|
||||||
# }
|
# }
|
||||||
|
|
Loading…
Reference in New Issue