Re: Nginx Logging to Zeromq Module - Sparkngin

2013-12-09 Thread Steve Morin
Thanks W-Mark [1] I have been looking at that module and a couple others including https://github.com/FRiCKLE/ngx_zeromq [2] My understanding is that nginx uses a number of worker process that are isolated, but need to see how zeromq handles that and if a socket can me shared. Given that they ar

Re: IPv6 & IPv4 backend with proxy_bind

2013-12-09 Thread Ruslan Ermilov
On Mon, Dec 09, 2013 at 10:03:29PM +1030, SplitIce wrote: > Im not sure that patch would suit my needs, simply because most of the time > I am matching on the upstream address only and need it to work regardless > of the port (i.e a regex match on just the IP component). > > Perhaps your patch cou

Re: IPv6 & IPv4 backend with proxy_bind

2013-12-09 Thread SplitIce
Im not sure that patch would suit my needs, simply because most of the time I am matching on the upstream address only and need it to work regardless of the port (i.e a regex match on just the IP component). Perhaps your patch could be extended to support - map $upstream_peer_addr $bind_addr {

Re: IPv6 & IPv4 backend with proxy_bind

2013-12-09 Thread Ruslan Ermilov
On Sat, Nov 23, 2013 at 12:15:28PM +1030, SplitIce wrote: > Attached is the patch, > > This is the first time I have created a variable or really done anything > inside the http request processing flow so feel free to let me know if > there is a better way to do something or if I have any edge cas