Re: Enable two way SSL on Nginx web server

2023-08-18 Thread Aleksandar Lazic via nginx
Hi Kaushal. On 2023-08-18 (Fr.) 03:22, Kaushal Shriyan wrote: Hi, I am running nginx version: nginx/1.24.0  on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # Is there a way to enable two way SSL on

How to run a shell script on every request?

2023-08-18 Thread Kaushal Shriyan
Hi, I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # I want to run a shell script every time my nginx server receives any HTTP request. Any simple ways to do t

Re: Enable two way SSL on Nginx web server

2023-08-18 Thread Kaushal Shriyan
On Fri, Aug 18, 2023 at 1:39 PM Aleksandar Lazic wrote: > Hi Kaushal. > > On 2023-08-18 (Fr.) 03:22, Kaushal Shriyan wrote: > > Hi, > > > > I am running nginx version: nginx/1.24.0 on CentOS Linux > > release 7.9.2009 (Core) > > > > # nginx -v > > nginx version: nginx/1.24.0 > > # cat /etc/redha

Re: How to run a shell script on every request?

2023-08-18 Thread Jeff Dyke
Can you explain why? I would never tie a script to a request. I post process logs all of the time. If it needs to be in the application, don't force it into Nginx. Strong statement, but would love to hear why? On Fri, Aug 18, 2023 at 9:47 AM Kaushal Shriyan wrote: > Hi, > > I am running nginx