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?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3481836-acquia_purge-use_http_post_for_url_purge-1.patch | 935 bytes | andyg5000 |
Comments
Comment #2
andyg5000Here's a patch we're using that solves the problem.
Comment #3
andyg5000