Re: nginx Digest, Vol 157, Issue 12 / ModSecurity/

2022-11-11 Thread Stephen D. Scotti, M.D. via nginx
Just curious. I though the WAF and ModSecurity was only available with NGINX Plus on a paid subscription basis ? Is it possible to implement that without a paid subscription if one is willing and able to compile and configure it on their own ? What about using it with something like OpenResty

Re: Help with nginx.conf

2022-11-11 Thread Jeffrey Walton
On Fri, Nov 11, 2022 at 1:43 PM Gus Flowers Starkiller < relectgus...@gmail.com> wrote: > > Hi ! Thanks a lot for your explanation ! Well I've installed some Nginx servers all cases like configured like Proxy Reverse, But, at first I installed Nginx from pages different from Nginx.org but the sourc

Re: Rewrite rules not working

2022-11-11 Thread Francis Daly
On Fri, Nov 11, 2022 at 08:29:44AM -0500, blason wrote: Hi there, > By the way which one would you confirm is preferable method rewrite or > return? It depends, based on what you want to do. For what I think you want, in this case, "return" is simpler. f -- Francis Dalyfran...

RE: Help with nginx.conf

2022-11-11 Thread Reinis Rozitis
> in a network that is using Nginx as Proxy Reverse since some years, the > nginx.conf file is like this include with Nginx-1.23.2 and that file appears > like this.. > > The second file is Nginx directly from Nginx.org, my question is, Why that > difference between both files nginx.conf i

Help with nginx.conf

2022-11-11 Thread Gus Flowers Starkiller
Hi people of Nginx, I hope you're ok. Please i Hope you can help me with this, in a network that is using Nginx as Proxy Reverse since some years, the nginx.conf file is like this include with Nginx-1.23.2 and that file appears like this.. user www-data; worker_processes auto; pid /run/nginx.pid;

Re: Rewrite rules not working

2022-11-11 Thread blason
Thanks appreciate it. Will have to check and confirm. By the way which one would you confirm is preferable method rewrite or return? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295715,295725#msg-295725 ___ nginx mailing list -- nginx@ngi

Re: nginx returns html instead of json response

2022-11-11 Thread Kaushal Shriyan
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 wrote: > On Wed, Nov 09, 2022 at 11:45:20PM +0530, Kaushal Shriyan wrote: > > Hi there, > > > Checking in again if someone can hel

Re: nginx returns html instead of json response

2022-11-11 Thread Francis Daly
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. You seem to be showing multiple different requests, so I'm not sure exact

回复: Segmentation fault sometimes

2022-11-11 Thread 王 静凯
Hi, Sorry I forget the mail I send before. Now the core file generate by nginx 1.22.0. It is meaningless to run nginx without third-party modules. I want to know if it crash when calling functions in nginx ( not in third-party module ) , it is not the problem relate to third-party mod

Re: Rewrite rules not working

2022-11-11 Thread Francis Daly
On Thu, Nov 10, 2022 at 01:07:23PM -0500, blason wrote: Hi there, > I have a website http://web1.example.local/web1 > Instead I need a rewrite so that if user enters http://web1.example.local it > will be diverted to http://web1.example.local/web1 If you want it to happen, without needing it to