[Setup] Plone with varnish 3.0 first page login behaviour

2012-01-11 Thread boernie
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

Re: [Setup] Plone with varnish 3.0 first page login behaviour

2012-01-11 Thread Paul Roeland
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