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
8
0
51
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
11,850
1,882
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.