Nginx - Best way to use proxy_cache_purge for a specific domain?

Operating System & Version
CloudLinux 8.5
cPanel & WHM Version
v102.0.18

julienmru

Member
Sep 15, 2013
12
1
53
Reunion Island
cPanel Access Level
Root Administrator
Hey all,

We'd like to allow a user to be able to purge cache for a specific page through the HTTP PURGE method.

It's well supported by Nginx but I wonder what would the best way to implement it in cPanel without breaking everything.

Thanks in advance for your insights : )
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! We do have the per-domain Nginx cache purge feature inside cPanel, but there isn't a way to do a single page at this time. That would make for a great feature request if you'd like to get one submitted using the link in my signature.