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: Questions about real ip module

2022-08-02 Thread nanaya
Hi On Wed, Aug 3, 2022, at 07:34, Francis Daly wrote: > On Sat, Jul 30, 2022 at 05:13:52AM +0900, nanaya wrote: > > >> 1. is there no way to reset the list of `set_real_ip_from` for a specific >> subsection? For example to have a completely different set of trusted >> addresses for a specific se

Re: Questions about real ip module

2022-08-02 Thread Francis Daly
On Sat, Jul 30, 2022 at 05:13:52AM +0900, nanaya wrote: Hi there, > I have a few questions about the real ip module (tried on nginx/1.22.0): I can see similar curious behaviour to what you report. I'm not sure if it is "intended behaviour", or "that kind of variation was never considered" -- ei

Questions about real ip module

2022-07-29 Thread nanaya
I have a few questions about the real ip module (tried on nginx/1.22.0): 1. is there no way to reset the list of `set_real_ip_from` for a specific subsection? For example to have a completely different set of trusted addresses for a specific server 2. does setting `real_ip_header '';` in a sect