• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue Magento 2, Docker and Varnish Working but Purge errors with 501

Status
Not open for further replies.

wjpbill

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Version 18.0.56
Hello

I'm running Plesk Obsidian Version 18.0.56 and Magento 2.4.2

I've followed these instructions to get Varnish installed and working Varnish for WordPress in a Docker container and it is working extremely well for serving pages etc.

The problem is that if I try and flush / clear the cache, I get a 501 error in Nginx saying
/2023:12:57:14 +0000] "PURGE / HTTP/1.1" 501 267 "-" "-" –

I've spent days trying to re-configure the purge IP addresses but nothing I do works.

The only way I can clear my Magento 2 cache is to restart the Docker Container but that means everytime that happens, the site grinds until the cache is re-built.

It does have Cloudflare in front of it but as I'm getting a 501 in Nginx, that indicates it is reaching the site but not doing anything.

More detail can be seen here - Varnish Cache won't clear on Magento 2.4.2

I would really really appreciate some help.
Thanks
 
Status
Not open for further replies.
Back
Top