setting up proxy peers like HAproxy?

Aleksandar Lazic al-nginx at none.at
Mon Apr 25 08:31:47 UTC 2016


Hi Florin Andrei.

Am 23-04-2016 02:22, schrieb Florin Andrei:
> With HAproxy, if you use multiple proxies you can synchronize their 
> states:
> 
> https://cbonte.github.io/haproxy-dconv/configuration-1.5.html#3.5
> 
> This allows, for example, if you're load balancing based on a header
> value, to make sure all clients sending the same header value will end
> up connecting to the same backend node.
> 
> Is something like this doable with Nginx?

As far a I know nginx nor n+ have a similar option.

I think the most closest solution is something like a combination with 
set & memcache.

http://nginx.org/en/docs/http/ngx_http_map_module.html
http://nginx.org/en/docs/http/ngx_http_memcached_module.html

Just try this search https://startpage.com/do/search?q=nginx+memcached

Best regards
Aleks



More information about the nginx mailing list