Skip to content

Commit 0dcc762

Browse files
committed
Merge branch 'release/1.0.20'
2 parents 9790af9 + f6b941a commit 0dcc762

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Nginx-Craft Changelog
22

3+
## 1.0.20 - 2019.05.15
4+
### Changed
5+
* Removed the `location` block in `expires.conf` that matched `.rss` and `.atom` since these almost always should go through Craft
6+
37
## 1.0.19 - 2019.04.10
48
### Added
59
* Include an example of serving up a placeholder image when a 404 happens for static image assets

nginx-partials/expires.conf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
# future (if the default expire rule is 1 month). Therefore, do not use a
1111
# default expire rule with nginx unless your site is completely static
1212

13-
# Feed
14-
location ~* \.(?:rss|atom)$ {
15-
expires 1h;
16-
add_header Cache-Control "public";
17-
}
18-
1913
# Media: images, icons, video, audio, HTC
2014
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp3|mp4|ogg|ogv|webm|htc|webp)$ {
2115
# Uncomment these lines if you want to serve up a placeholder image for 404s

0 commit comments

Comments
 (0)