[Seaside] Worker images with nginx and URL hash for sticky sessions

Torsten Bergmann astares at gmx.de
Fri Oct 24 21:53:13 UTC 2014


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.

 


More information about the seaside mailing list