Hi,
I've upgraded my web setup to use nginx 1.0.10, varnish 3.0.2 and plone 4
through buildout.
Basically the setup works, the only problem I have, is that after the login
in plone, the first site viewed seems to be rendered from the cache without
login information. Means I don't see the green edi
Hi Bernhard,
I think you're doing a 'double rewrite'. What works for me:
- in NGINX: do rewrite there
location / {
rewrite ^/(.*)$
/VirtualHostBase/http/$http_host:80/plonepath/VirtualHostRoot/$1;
}
location /VirtualHostBase/ {
proxy_pass http://loca
Finally adding
if (req.http.Cookie && req.http.Cookie ~ "__ac.*") {
return(pass);
}
to my varnish.vcl file did the trick, that way authenticated users traffic
is not cached.
--
View this message in context:
http://plone.293351.n2.nabble.com/Plone-with-varnish-3-0-first-page-login-behav