How to put rewrite rules for multiple plone instances

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


Hi,

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;
        server_name server03.example.in;

        #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)

Thanks
Vishnu, Bangalore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090116/73a2f9e2/attachment.html>


More information about the nginx mailing list