Merge 1593e49f086e50f4d3ace47a98ac815c3d38ee15 into a6498a6bc2f770aa0a10851484ceb63a86e89991
This commit is contained in:
commit
9b7bad7571
@ -9,13 +9,13 @@ location ~* \.(?:rss|atom)$ {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Caches images, icons, video, audio, HTC, etc.
|
# Caches images, icons, video, audio, HTC, etc.
|
||||||
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {
|
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|svg|mp4|ogg|ogv|webm|htc)$ {
|
||||||
add_header Cache-Control "max-age=31536000";
|
add_header Cache-Control "max-age=31536000";
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Cache svgz files, but don't compress them.
|
# Cache gz and svgz files, but don't compress them.
|
||||||
location ~* \.svgz$ {
|
location ~* \.(?:gz|svgz)$ {
|
||||||
add_header Cache-Control "max-age=31536000";
|
add_header Cache-Control "max-age=31536000";
|
||||||
access_log off;
|
access_log off;
|
||||||
gzip off;
|
gzip off;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user