How to put rewrite rules for multiple plone instances
Igor Sysoev
is at rambler-co.ru
Fri Jan 16 10:47:33 MSK 2009
On Fri, Jan 16, 2009 at 12:58:15PM +0530, Vishnu Kumar D R wrote:
> 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;
This is a cycle.
> location = / {
> rewrite (.*) / last;
> }
What do you intend by this ?
> location / {
> proxy_pass http://localhost:6081;
+ proxy_set Host $host;
> 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
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list