location regex?

2022-08-03 Thread Jay Haines
I am trying to weed out requests for any uri that contains the string, "announce" (no quotes). That would include * /announce * /announce/ * /announce.php each with or without query strings. I have the following location blocks in my server context:    location ~* announce {  

Re: Proxy buffering query

2022-08-03 Thread Francis Daly
On Wed, Aug 03, 2022 at 08:49:20AM -0400, libresco_27 wrote: Hi there, > But I'm not explicitly defining the value for proxy_busy_buffers_size to > something. Right now it is set with the default value Oh, sorry. I had misunderstood what you were reporting. I now think that the confusion comes

Re: Questions about real ip module

2022-08-03 Thread Francis Daly
On Wed, Aug 03, 2022 at 02:58:59PM +0900, nanaya wrote: > On Wed, Aug 3, 2022, at 07:34, Francis Daly wrote: > > On Sat, Jul 30, 2022 at 05:13:52AM +0900, nanaya wrote: Hi there, > It looks like I tested it on location level. I guess it's similar behavior to > real_ip_header inheritance you ment

Re: Proxy buffering query

2022-08-03 Thread libresco_27
But I'm not explicitly defining the value for proxy_busy_buffers_size to something. Right now it is set with the default value Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294892,294904#msg-294904 ___ nginx mailing list -- nginx@nginx.org

Re: listen on IPs but do not fail if one is absent - ?

2022-08-03 Thread lejeczek via nginx
On 03/08/2022 10:54, Igor Ippolitov wrote: Hello, I would give a try to 'net.ipv4.ip_nonlocal_bind' sysctl knob. Set it to true and bind() won't fail. Regards, Igor. Does the trick for Nginx too! wielkie! dzięki L. ___ nginx mailing list -- ngin

Re: listen on IPs but do not fail if one is absent - ?

2022-08-03 Thread Igor Ippolitov
Hello, I would give a try to 'net.ipv4.ip_nonlocal_bind' sysctl knob. Set it to true and bind() won't fail. Regards, Igor. On 12/02/2022 10:11, lejeczek via nginx wrote: Hi guys a novice here so go easy on me with this question: having multiple 'listen' with IPs or, just one 'listen' with

Re: listen on IPs but do not fail if one is absent - ?

2022-08-03 Thread lejeczek via nginx
On 13/02/2022 11:24, Francis Daly wrote: On Sun, Feb 13, 2022 at 07:56:16AM +, lejeczek via nginx wrote: On 12/02/2022 13:26, Francis Daly wrote: On Sat, Feb 12, 2022 at 10:11:25AM +, lejeczek via nginx wrote: Hi there, having multiple 'listen' with IPs or, just one 'listen' with