Skip to content

Commit dcb91ea

Browse files
authored
Merge pull request #5855 from bjester/expiration-elimination
Remove expires header from GCS response
2 parents e09d67b + d22f0ef commit dcb91ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# location {} settings for /content caching
22
# used by files in this directory, via `include` directive
33

4-
# ignore cache-control from upstream so this value is authoritative
4+
# ignore 'expires' and 'cache-control' headers from upstream so this value is authoritative
55
proxy_hide_header Cache-Control;
6+
proxy_hide_header Expires;
67

78
# content is md5-addressed, so cache aggressively for successful responses
89
add_header Cache-Control "public, max-age=31536000, immutable, no-transform";

0 commit comments

Comments
 (0)