[Seaside] Worker images with nginx and URL hash for sticky
sessions
Johan Brichau
johan at inceptive.be
Sat Oct 25 06:59:07 UTC 2014
I’m using this [1] but, as you can see, it’s obsolete since nginx 1.7.2 (so I will be switching soon to the built-in hash).
A bit more info on why here [2].
[1] http://wiki.nginx.org/HttpUpstreamRequestHashModule
[2] http://jbrichau.github.io/blog/when-to-use-http-session-affinity-in-glass/
> On 24 Oct 2014, at 23:53, Torsten Bergmann <astares at gmx.de> wrote:
>
> Hi,
>
> in nginx one can use for load balancing:
>
> upstream seaside {
> ip_hash;
> server 127.0.0.1:8080;
> server 127.0.0.1:8081;
> ...
> }
>
> This is using the IP Hash method for balancing (http://nginx.com/products/application-load-balancing).
>
> Any experience how to configure the more generic Hash method (based on user-defined key such as the URL) with nginx?
>
> Similar to what is described for Apache: http://book.seaside.st/book/advanced/deployment/deployment-apache/mod-proxy-balancer
> but for nginx?
>
> Thx
> T.
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list