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 cases.

Re: IPv6 IPv4 backend with proxy_bind

2013-11-22 Thread Ruslan Ermilov
On Tue, Nov 19, 2013 at 09:09:34PM +1030, SplitIce wrote: An IPv6 based fallback is not the only solution we want to support, ultimately we would like to be able to load-balance between them as well. An error_page based solution would not assist. I also get the feeling that such a hack would

Re: IPv6 IPv4 backend with proxy_bind

2013-11-22 Thread SplitIce
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 cases. This patch provides a $upstream_connecting variable which

Re: IPv6 IPv4 backend with proxy_bind

2013-11-19 Thread SplitIce
An IPv6 based fallback is not the only solution we want to support, ultimately we would like to be able to load-balance between them as well. An error_page based solution would not assist. I also get the feeling that such a hack would have large implications, while either an additional parameter

Re: IPv6 IPv4 backend with proxy_bind

2013-11-18 Thread Maxim Dounin
Hello! On Mon, Nov 18, 2013 at 10:24:43PM +1030, SplitIce wrote: Hi, We use proxy_bind to ensure traffic always goes out via the same address as the incoming request i.e the bound address where a server has many addresses. This is a hard restriction in our use case. We are looking to