building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin osa at freebsd.org.ru
Mon May 9 13:02:20 UTC 2022


Hi Kaushal,

On Mon, May 09, 2022 at 08:44:32AM +0530, Kaushal Shriyan wrote:
> 
> Is there a way to find out what URLs are cached in Nginx Cache? from Nginx
> command line utility or /etc/nginx/nginx.conf

I'd recommend to use standard UNIX/Linux tools for that: find(1) [1],
xargs(1) [2], grep(1) [3].

References:
1. https://www.freebsd.org/cgi/man.cgi?query=find&apropos=0&sektion=0&manpath=FreeBSD+13.0-RELEASE+and+Ports&arch=default&format=html
2. https://www.freebsd.org/cgi/man.cgi?query=xargs&apropos=0&sektion=0&manpath=FreeBSD+13.0-RELEASE+and+Ports&arch=default&format=html
3. https://www.freebsd.org/cgi/man.cgi?query=grep&apropos=0&sektion=0&manpath=FreeBSD+13.0-RELEASE+and+Ports&arch=default&format=html

--
Sergey A. Osokin



More information about the nginx mailing list