Re: Purge the Nginx cache

2022-05-17 Thread Tammymeans
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

Re: Purge the Nginx cache

2022-05-04 Thread Francis Daly
On Tue, May 03, 2022 at 09:47:03PM +0530, Kaushal Shriyan wrote: Hi there, > Thanks Francis for the detailed explanation and much appreciated !!!. We > typically clear the nginx cache manually using the below command. > > #rm -rf /var/www/nginx/cache/content/* > #rm -rf /var/www/nginx/cache/file

Re: Purge the Nginx cache

2022-05-03 Thread Kaushal Shriyan
On Tue, May 3, 2022 at 5:30 PM Francis Daly wrote: > On Tue, May 03, 2022 at 03:59:48PM +0530, Kaushal Shriyan wrote: > > Hi there, > > > I am following https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ and > > have attached the nginx config file for your referen

Re: Purge the Nginx cache

2022-05-03 Thread Francis Daly
On Tue, May 03, 2022 at 03:59:48PM +0530, Kaushal Shriyan wrote: Hi there, > I am following https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ and > have attached the nginx config file for your reference. I am running nginx > version: nginx/1.20.2 on CentOS Linux release 7.9.2

Re: Purge the Nginx cache

2022-05-03 Thread Kaushal Shriyan
Hi Francis, I am following https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ and have attached the nginx config file for your reference. I am running nginx version: nginx/1.20.2 on CentOS Linux release 7.9.2009 (Core) #curl -I https://testnginxproxycachepurge.testintcraft.com -H 'Cache-

Re: Purge the Nginx cache

2022-05-03 Thread Francis Daly
On Fri, Apr 29, 2022 at 12:54:42AM +0530, Kaushal Shriyan wrote: Hi there, > I am following > https://www.ryadel.com/en/nginx-purge-proxy-cache-delete-invalidate-linux-centos-7/ > and https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ to purge cache. I > am attaching the nginx f

Re: Purge the Nginx cache

2022-05-02 Thread Kaushal Shriyan
alidate-linux-centos-7/ >> and https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ to purge >> cache. I am attaching the nginx file for your reference. >> >> $curl -I https://gsmanginxproxycachepurge.testapicraft.com -H >> "secret-header: true" >> >> H

Re: Purge the Nginx cache

2022-04-29 Thread Kaushal Shriyan
On Fri, Apr 29, 2022 at 12:54 AM Kaushal Shriyan wrote: > Hi, > > I am following > https://www.ryadel.com/en/nginx-purge-proxy-cache-delete-invalidate-linux-centos-7/ > and https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ to purge cache. > I am attaching the nginx file

Re: Purge the Nginx cache

2022-04-28 Thread Kaushal Shriyan
Hi, I am following https://www.ryadel.com/en/nginx-purge-proxy-cache-delete-invalidate-linux-centos-7/ and https://bluegrid.io/edu/how-to-purge-the-nginx-cache/ to purge cache. I am attaching the nginx file for your reference. $curl -I https://gsmanginxproxycachepurge.testapicraft.com -H "s

Re: Purge the Nginx cache

2022-04-26 Thread Sergey A. Osokin
Hi Kaushal, On Tue, Apr 26, 2022 at 11:54:01PM +0530, Kaushal Shriyan wrote: > Hi Sergey, > > I have gone through the document > https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/ to > purge nginx cache in nginx OSS version: nginx/1.20.2 as a reverse proxy > server on CentOS

Re: Purge the Nginx cache

2022-04-26 Thread Kaushal Shriyan
Hi Sergey, I have gone through the document https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/ to purge nginx cache in nginx OSS version: nginx/1.20.2 as a reverse proxy server on CentOS Linux release 7.9.2009 (Core). I encounter nginx: [emerg] unknown directive "proxy_cache

Re: Purge the Nginx cache

2022-04-26 Thread Kaushal Shriyan
Hi Sergey, I have followed the document to purge nginx cache. Please find the details below. I am attaching the nginx config (nginxdefault.conf) file for your reference. curl -I https://testnginxproxycachepurge.testintcraft.com -H 'Cache-Purge: true' HTTP/1.1 200 OK Server: nginx/1.20.2 Date: Tue

Re: Purge the Nginx cache

2022-04-22 Thread Kaushal Shriyan
On Fri, Apr 22, 2022 at 11:11 PM Sergey A. Osokin wrote: > On Fri, Apr 22, 2022 at 10:56:27PM +0530, Kaushal Shriyan wrote: > > On Fri, Apr 22, 2022 at 10:31 PM Sergey A. Osokin > > > > > > I'd recommend to follow the NGINX Admin Guide, please visit the > following > > > link > > > for details,

Re: Purge the Nginx cache

2022-04-22 Thread Sergey A. Osokin
On Fri, Apr 22, 2022 at 10:56:27PM +0530, Kaushal Shriyan wrote: > On Fri, Apr 22, 2022 at 10:31 PM Sergey A. Osokin > > > > I'd recommend to follow the NGINX Admin Guide, please visit the following > > link > > for details, > > https://docs.nginx.com/nginx/admin-guide/content-cache/content-cachin

Re: Purge the Nginx cache

2022-04-22 Thread Kaushal Shriyan
On Fri, Apr 22, 2022 at 10:31 PM Sergey A. Osokin wrote: > Hi Kaushal, > > hope you're doing well. > > On Fri, Apr 22, 2022 at 10:03:57PM +0530, Kaushal Shriyan 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

Re: Purge the Nginx cache

2022-04-22 Thread Sergey A. Osokin
Hi Kaushal, hope you're doing well. On Fri, Apr 22, 2022 at 10:03:57PM +0530, Kaushal Shriyan 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

Purge the Nginx cache

2022-04-22 Thread Kaushal Shriyan
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 u