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, 26 Apr 2022 17:51:54 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive Cache-Control: max-age=21600, public Link: <https://testnginxproxycachepurge.testintcraft.com/>; rel="canonical", <https://testnginxproxycachepurge.testintcraft.com/>; rel="shortlink", <https://testnginxproxycachepurge.testintcraft.com/home>; rel="revision" X-UA-Compatible: IE=edge Content-language: en X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN Permissions-Policy: interest-cohort=() Expires: Sun, 19 Nov 1978 05:00:00 GMT Vary: Cookie X-XSS-Protection: 1; mode=block Strict-Transport-Security: max-age=31536000; includeSubDomains Set-Cookie: ADRUM_BT=R%3A0%7Cg%3A8eea40a7-2011-4692-acbb-84cf43e1d5ad30%7Cn%3Aicebergtest_e1c60ae6-5d00-47d5-8c0a-690d8465795f%7Ci%3A129601; expires=Tue, 26-Apr-2022 14:10:31 GMT; Max-Age=30; path=/ Last-Modified: Tue, 26 Apr 2022 11:42:25 GMT ETag: "1650973345" Access-Control-Allow-Origin: * *X-Cache-Status: HIT* Instead of *Cache: BYPASS*, I see *X-Cache-Status: HIT *as the response. Please guide me. Thanks in advance. Best Regards, Kaushal On Fri, Apr 22, 2022 at 11:21 PM Kaushal Shriyan <kaushalshri...@gmail.com> wrote: > > > On Fri, Apr 22, 2022 at 11:11 PM Sergey A. Osokin <o...@freebsd.org.ru> > 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 <o...@freebsd.org.ru> >> > > >> > > 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-caching/ >> > >> > Thanks Sergey for sharing the article. Is this >> > https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/ >> > applicable to the OSS version of nginx web server. Please comment. >> >> I see nothing related to NGINX Plus, so you should try and report back. >> >> -- >> Sergey A. Osokin >> _______________________________________________ >> nginx mailing list -- nginx@nginx.org >> To unsubscribe send an email to nginx-le...@nginx.org > > > Thanks a lot Sergey and much appreciated !!! I will seek help if I get > into any issue. > > Best Regards, > > Kaushal > > >
nginxdefault.conf
Description: Binary data
_______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org