How to put rewrite rules for multiple plone instances

Vishnu Kumar D R support at
Fri Jan 16 10:28:15 MSK 2009


I am having some 10 Plone sites running on a Zope instance in port 8002.
I have configured it to run behind varnish port 6081.

now, my nginx configuration is

 server {
        listen       80;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;
        location = / {
           rewrite (.*) / last;

       location / {
           proxy_pass http://localhost:6081;
           include /usr/local/nginx/includes/proxy.conf;

Is this right for the specified config?
Cause its not working
(Actually when we give our http://localhost:8002, It opens up the main page,
from there requests all handled for each site)

Vishnu, Bangalore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list