PPlatform CDN and CloudFlare PURGE blocked

Created on 18 October 2024, 2 months ago

Problem/Motivation

We have a domain that's behind CloudFlare proxy for WAF, but we're using Platform CDN. The acquia_purge module makes a HTTP `PURGE` request when invalidating single URLs. CloudFlare blocks this and it never makes it to the fastly server.

Steps to reproduce

Set up a domain as described above and see that CloudFlare returns an invalid request.

Proposed resolution

Use the fastly POST API to purge the urls.

Remaining tasks

What do you think? Is there a better way to handle this?

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andyg5000 North Carolina, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024