@cryptotaxi247 / infra / commits / 2dec0018

Remove negative caching stuff that does not do anything

Eelco Dolstra committed Jul 15, 2022 at 16:38 UTC 2dec001871008d8689a4c6b3f440c4e0a295fdbd
1 file changed +1 -4
terraform/cache.tf
+1 -4
@@ -212,15 +212,12 @@ resource "fastly_service_v1" "cache" {
212 }
213
214 snippet {
215 + name = "cache-errors"
216 content = <<-EOT
217 if (beresp.status == 403) {
218 set beresp.status = 404;
218 - set beresp.ttl = 86400s;
219 - set beresp.grace = 0s;
220 - set beresp.cacheable = true;
219 }
220 EOT
223 - name = "Change 403 from S3 to 404"
221 priority = 100
222 type = "fetch"
223 }