Kamil Gorlo
August 15, 2011 06:00AM
Hi!

On Mon, Aug 15, 2011 at 1:17 AM, leepengg <pengli.hust@qq.com> wrote:
> ngx_lua(http://wiki.nginx.org/NginxHttpLuaModule) should meet your need.

Yeah, I found this before but it looks that is not enough for me. Of
course I can choose exact backend using lua (sth. similar to this:
http://openresty.org/#DynamicRoutingBasedOnRedis) but if this backend
fails to respond I have no cotrol what nginx should do next, i.e it
will return error and not - as I wanted - try another server.

It looks that a lot of modules could be raplaced by lua scripts, but
as far as I understand not 'load-balancer' modules like ip_hash or
upstream_hash. Am I right?

Regards,
Kamil

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Routing based on cookies

Kamil Gorlo August 14, 2011 04:42PM

Re: Routing based on cookies

leepengg August 14, 2011 07:18PM

Re: Routing based on cookies

Kamil Gorlo August 15, 2011 06:00AM

Re: Routing based on cookies

Jérôme Loyet August 15, 2011 05:06AM

Re: Routing based on cookies

Kamil Gorlo August 15, 2011 06:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready