Purge the Nginx cache

Tammymeans nginx-forum at forum.nginx.org
Tue May 17 12:27:14 UTC 2022


kaushalshriyan Wrote:
-------------------------------------------------------
> Hi,
> 
> I am running the nginx version: nginx/1.20.2 as a reverse proxy server
> on
> CentOS Linux release 7.9.2009 (Core). Is there a way to purge the
> cache
> without restarting the nginx server? I am reading a blog which says to
> use
> nginx bypass purge cache method instead of manually purging Nginx
> cache
> using the below method.
> https://testfiledownload.com/
> $sudo rm -rf /var/cache/nginx/*
> 
> Please let me know the best recommended way to purge cache. Thanks in
> advance. I look forward to hearing from you.
> 
> Best Regards,
> 
> Kaushal
> _______________________________________________
> nginx mailing list -- nginx at nginx.org
> To unsubscribe send an email to nginx-leave at nginx.org


Howo to do this please explain in more details >

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294027,294182#msg-294182



More information about the nginx mailing list