> On Fri, Nov 11, 2022 at 2:38 PM Francis Daly <francis@daoine.org> wrote: > >> On Wed, Nov 09, 2022 at 11:45:20PM +0530, Kaushal Shriyan wrote: >> >> Hi there, >> >> > Checking in again if someone can help me with my earlier post to this >> > mailing list? >> >> The question in the post was, and is, a bit unclear to me. >> &gby kaushalshriyan - Nginx Mailing List - English
Thanks Francis for the email and appreciate it. I will explain in detail about this specific usecase. Thanks once again. On Fri, Nov 11, 2022 at 2:38 PM Francis Daly <francis@daoine.org> wrote: > On Wed, Nov 09, 2022 at 11:45:20PM +0530, Kaushal Shriyan wrote: > > Hi there, > > > Checking in again if someone can help me with my earlier post to this > > mailing list?by kaushalshriyan - Nginx Mailing List - English
Hi, Checking in again if someone can help me with my earlier post to this mailing list? I have a follow up question, when the user invokes -> http://mydomain.com/apis http://mydomain.com/api/v1/* -> Nginx Webserver -> Drupal 9 Core CMS -> PHP-FPM backend server. Nginx should present the below info on 500 ISE error conditions for /apis and /apis/* The below message sends back the reby kaushalshriyan - Nginx Mailing List - English
On Tue, Nov 8, 2022 at 11:20 AM Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Mon, Nov 07, 2022 at 08:59:51PM +0530, Kaushal Shriyan wrote: > > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > > CentOS Linux release 7.9.2009 (Core). Is there a way to return json > > response when i hit http://mydomain.com/api/v1/* instead oby kaushalshriyan - Nginx Mailing List - English
On Mon, Nov 7, 2022 at 9:40 PM Dan G. Switzer, II <dan.switzer@givainc.com> wrote: > The "internal" keyword indicates only internal request can access the > location: > > http://nginx.org/en/docs/http/ngx_http_core_module.html#internal > > So hitting ttp://mydomain.com/api/v1/* with CURL would never hit this > location. > > Remove the "internal&quoby kaushalshriyan - Nginx Mailing List - English
Hi, I am running the nginx version: nginx/1.22 as a reverse proxy server on CentOS Linux release 7.9.2009 (Core). Is there a way to return json response when i hit http://mydomain.com/api/v1/* instead of the html response. location /api/v1/* { internal; add_header 'Content-Type' 'application/json charset=UTF-8'; error_page 502 '{"error": {"status_code": 502,"by kaushalshriyan - Nginx Mailing List - English
Hi Sergey, Is there a way to find out what URLs are cached in Nginx Cache? from Nginx command line utility or /etc/nginx/nginx.conf # pwd /var/www/nginx/cache #ls -l total 0 drwxrwxrwx. 14 nginx deployuser 114 May 8 05:58 content drwxrwxrwx. 15 nginx deployuser 123 May 8 07:31 files #cd /var/www/nginx/cache/files # ls -l total 0 drwx------ 4 nginx nginx 26 May 8 05:58 0 drwx------ 4 nginx ngiby kaushalshriyan - Nginx Mailing List - English
Hi Sergey, I am not sure if I completely understand https://github.com/FRiCKLE/ngx_cache_purge/tree/master/t. Any examples to create and run the test cases? Best Regards, Kaushal On Mon, May 9, 2022 at 2:05 AM Sergey A. Osokin <osa@freebsd.org.ru> wrote: > Hi Kaushal, > > thanks for the update. > > On Sun, May 08, 2022 at 03:52:16PM +0530, Kaushal Shriyan wrote: > >by kaushalshriyan - Nginx Mailing List - English
Hi, Further to the earlier email, the nginx cache has the contents which are as follows. # pwd /var/www/nginx/cache # # ls -l total 0 drwxrwxrwx. 14 nginx deployuser 114 May 8 05:58 content drwxrwxrwx. 15 nginx deployuser 123 May 8 07:31 files # /var/www/nginx/cache/files # ls -l total 0 drwx------ 4 nginx nginx 26 May 8 05:58 0 drwx------ 4 nginx nginx 26 May 8 06:04 1 drwx------ 5 nginx ngby kaushalshriyan - Nginx Mailing List - English
Hi, I am attaching the nginx file for your reference. Please guide me. Thanks in advance. Best Regards, Kaushal Best Regards, Kaushal On Sun, May 8, 2022 at 1:38 PM Kaushal Shriyan <kaushalshriyan@gmail.com> wrote: > Hi, > > I have a follow up question. when i run using Method PURGE I am > encountering http 404 whereas when i run using Method GET. > > *404 Not Found*by kaushalshriyan - Nginx Mailing List - English
Hi, I have a follow up question. when i run using Method PURGE I am encountering http 404 whereas when i run using Method GET. *404 Not Found* #curl -vvv -X PURGE -I https://testnginxproxycachepurge.testintcraft.com/apis * About to connect() to testnginxproxycachepurge.testintcraft.com port 443 (#0) * Trying 34.105.141.181... * Connected to testnginxproxycachepurge.testintcraft.com (34.105.14by kaushalshriyan - Nginx Mailing List - English
Hi Sergey, I have fixed the issue by adding the below line in main context of nginx.conf file load_module modules/ngx_http_cache_purge_module.so; #cat /etc/nginx/nginx.conf user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; *load_module modules/ngx_http_cache_purge_module.so;* events { worker_connections 1024; } http { iby kaushalshriyan - Nginx Mailing List - English
Hi, I am able to fix the issue below. #nginx -t -c /etc/nginx/nginx.conf nginx: module "/usr/lib64/nginx/modules/ngx_http_cache_purge_module.so" version 1020002 instead of 1020001 in /usr/share/nginx/modules/ngx-http-cache-purge-module.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed Nginx Version :- nginx version: nginx/1.20.2 OS Version :- CentOS Linux release 7.9by kaushalshriyan - Nginx Mailing List - English
Hi Sergey, I followed https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/#load_module to generate the third party dynamic module Nginx Version :- nginx version: nginx/1.20.1 OS Version :- CentOS Linux release 7.9.2009 (Core) cd /home/kaushal/ngx-cache-purge/ # ls -l total 64 -rw-r--r-- 1 root root 728 May 8 02:48 config -rw-r--r-- 1 root root 51501 May 8 02:48 ngx_cache_purge_mby kaushalshriyan - Nginx Mailing List - English
Hi, I am referring to https://github.com/FRiCKLE/ngx_cache_purge/ and running the open source nginx version: nginx/1.20.2 on CentOS Linux release 7.9.2009 (Core). When i trying to compile the ngx_cache_purge_module.c I am encountering fatal error: nginx.h: No such file or directory # ls -l total 76 -rw-r--r-- 1 501 wheel 1980 Dec 23 2014 CHANGES -rw-r--r-- 1 501 wheel 516 Dec 23 2014 configby kaushalshriyan - Nginx Mailing List - English
On Tue, May 3, 2022 at 5:30 PM Francis Daly <francis@daoine.org> 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 reference. I am running > nginx > > version: nginx/1.20.2 on CentOS Linux releaby kaushalshriyan - Nginx Mailing List - English
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-Purge: true' HTTP/1.1 200 OK Server: nginx/1.20.2 Date: Tue, 03 May 2022 10:24:24 GMT Content-Type: text/htby kaushalshriyan - Nginx Mailing List - English
Hi, I am running the nginx version: nginx/1.20.2 (OSS) as a reverse proxy server on CentOS Linux release 7.9.2009 (Core). I will appreciate it if someone can pitch in for my post to this mailing list. Any recommendations to purge nginx cache since i am using the Open Source version of Nginx? Thanks in Advance. Best Regards, Kaushal On Fri, Apr 29, 2022 at 11:44 PM Kaushal Shriyan <kaushalby kaushalshriyan - Nginx Mailing List - English
On Fri, Apr 29, 2022 at 12:54 AM Kaushal Shriyan <kaushalshriyan@gmail.com> 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 for your reference. > > $curl -I https://gsmanginxproxycachepurge.tby kaushalshriyan - Nginx Mailing List - English
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 "secret-header: true" HTTP/1.1 200 OK Server: nginx/1.20.2 Date: Thu, 28 Apr 2022 19:21:54 GMT Conby kaushalshriyan - Nginx Mailing List - English
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: unknown directive "proxy_cache_purge" in /etc/nginx/conf.d/default.conf:75 nginx: unknown directive "proxy_cache_purge&quoby kaushalshriyan - Nginx Mailing List - English
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-Controby kaushalshriyan - Nginx Mailing List - English
On Fri, Apr 22, 2022 at 11:11 PM Sergey A. Osokin <osa@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 <osa@freebsd.org.ru> > > > > > > I'd recommend to follow the NGINX Admin Guide, please visit the > following > > > link > > > for details, &by kaushalshriyan - Nginx Mailing List - English
On Fri, Apr 22, 2022 at 10:31 PM Sergey A. Osokin <osa@freebsd.org.ru> 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). Is there a way to purge the cacheby kaushalshriyan - Nginx Mailing List - English
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. $sudo rm -rf /var/cache/nginx/* Please let me know the best recommended wayby kaushalshriyan - Nginx Mailing List - English
On Tue, Aug 3, 2021 at 11:37 PM Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Tue, Aug 03, 2021 at 09:13:06PM +0530, Kaushal Shriyan wrote: > > > On Mon, Aug 2, 2021 at 11:18 PM Maxim Dounin <mdounin@mdounin.ru> wrote: > > > > > On Mon, Aug 02, 2021 at 09:12:59PM +0530, Kaushal Shriyan wrote: > > > > > > > I am running nby kaushalshriyan - Nginx Mailing List - English
On Mon, Aug 2, 2021 at 11:18 PM Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Mon, Aug 02, 2021 at 09:12:59PM +0530, Kaushal Shriyan wrote: > > > I am running nginx version: nginx/1.20.1 on CentOS Linux release 7.9.2009 > > (Core). When I am accessing > > > https://dsmadeveloperportal.mydomain.com/sites/default/files/2020-08/dsmaAccount%20and%20Trby kaushalshriyan - Nginx Mailing List - English
Hi, I am running nginx version: nginx/1.20.1 on CentOS Linux release 7.9.2009 (Core). When I am accessing https://dsmadeveloperportal.mydomain.com/sites/default/files/2020-08/dsmaAccount%20and%20Transaction%20API%20Specification_2_1.yml, I am encountering 404 Not Found while accessing it. On the server, the file is there #ls -l "/var/www/html/dacdeveloperportal/web/sites/default/files/2020by kaushalshriyan - Nginx Mailing List - English
Hi, I am using Lets Encrypt SSL Certificates for Nginx 1.20.00 webserver running on CentOS Linux release 7.9.2009 (Core). I will appreciate it if someone can guide me to set the cipher suites in the Nginx Webserver config. I am referring to https://ssl-config.mozilla.org/. Is there a way to verify if the below cipher suites set are accurate and are free from any vulnerabilities? $openssl versionby kaushalshriyan - Nginx Mailing List - English
Hi, I am running Nginx version: nginx/1.20.0 on CentOS Linux release 7.9.2009 (Core). I am seeing the below information in the Nginx error file. 2021/04/25 07:47:40 15635#15635: *5 "^(.*/)index\.php/(.*)" does > not match > "/themes/contrib/bootstrap_barrio/css/components/node.css?qs338m", client: > 35.18.123.1, server: dactest.mydomain.com, request: "GET >by kaushalshriyan - Nginx Mailing List - English