Skip to content

Commit dc956c7

Browse files
committed
Additional bugfixes
1 parent 5e747ad commit dc956c7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vcl/recv_misc_fixups.vcl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ if (req.url.ext ~ "(?i)^(jpe?g|png|gif|mp4|mp3|gz|svg|avif|webp)$") {
1515

1616
# Remove all headers we don't care to be passing around. It does not remove protected headers. More details
1717
# https://developer.fastly.com/reference/vcl/functions/headers/header-filter-except/
18-
header.filter_except(req, "Accept-Encoding");
18+
# This causes a 301, need to investigate why first.
19+
#header.filter_except(req, "Accept-Encoding");

vcl/remove_response_headers.vcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ unset beresp.http.x-amz-request-id;
33
unset beresp.http.x-amz-meta-server-side-encryption;
44
unset beresp.http.x-amz-server-side-encryption;
55
unset beresp.http.x-amz-bucket-region;
6-
unset beresp.http.x-amzn-requestid;
6+
unset beresp.http.x-amzn-request-id;
77

88
# Set the Caching policy for all files
99
set beresp.http.Cache-Control = "public, max-age=315576000, immutable";

0 commit comments

Comments
 (0)