I have a Plone setup that uses nginx on front and 2 backend servers with Varnish installed; I using a very simple configuration like this one:
upstream backend {
server 10.0.0.1:6081;
server 10.0.0.2:6081;
}
server {
listen 80;
server_name mysite.com;
location / {
proxy_pass http://backend/VirtualHostBase/http/mysite.com:80/Plone/VirtualHostRoot/;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
}
I need all authenticated users go to backend server 1; I read about the sticky directive on the nginx manual, but I don't understand it very well.
does anybody here has experience with that?