Skip to content

Commit d22f0ef

Browse files
committed
Remove expires header from GCS response
1 parent e09d67b commit d22f0ef

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)