Re: [Nginx] Re: hostname based listen directive with A/AAAA RRs

2018-08-14 Thread Jim Popovitch
On Wed, 2018-08-15 at 03:06 +0300, Maxim Dounin wrote: > Hello! > > On Tue, Aug 14, 2018 at 04:53:23PM -0400, Jim Popovitch wrote: > > > Hello, > > > > Will the following listen statement bind to all addrs (2xIPv4 and > > 2xIPv6)? > > > > server { > >    listen www.nginx.org:443 ssh http2 ipv6o

Re: hostname based listen directive with A/AAAA RRs

2018-08-14 Thread Maxim Dounin
Hello! On Tue, Aug 14, 2018 at 04:53:23PM -0400, Jim Popovitch wrote: > Hello, > > Will the following listen statement bind to all addrs (2xIPv4 and > 2xIPv6)? > > server { >listen www.nginx.org:443 ssh http2 ipv6only=no bind; No. If a hostname is used in the listen directive, it will use

hostname based listen directive with A/AAAA RRs

2018-08-14 Thread Jim Popovitch
Hello, Will the following listen statement bind to all addrs (2xIPv4 and 2xIPv6)? server { listen www.nginx.org:443 ssh http2 ipv6only=no bind; } -Jim P. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ngin

Re: Using the mirror module

2018-08-14 Thread jlangr
thanks Francis for the additional info, very helpful! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279036,280872#msg-280872 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx C API: Traversing the configuration tree

2018-08-14 Thread Sam Vervaeck
Sorry, looks like I overlooked something in the API! It is possible to have a location-specific postconfiguration-hook: the last field of nginx_command_t. My bad! Regards, Sam > On 14 Aug 2018, at 14:41, Sam Vervaeck wrote: > > Hi all, > > I’m writing a small monitoring module and I need to

Nginx C API: Traversing the configuration tree

2018-08-14 Thread Sam Vervaeck
Hi all, I’m writing a small monitoring module and I need to perform some set-up after the configuration object has ben initialised. I use the postconfiguration-hook in ngx_http_module_t and would like this hook to traverse over all locations that have been enabled in my module in order to initi

Re: Using the mirror module

2018-08-14 Thread Francis Daly
On Thu, Aug 09, 2018 at 07:04:50PM -0400, jlangr wrote: Hi there, > We got this working to wrap up the day. Good that you have something working for you. > My ignorance of nginx meant that I > was interpreting the example literally--I viewed the "/mirror" as the name > for the internal route, b