<div class="gmail_quote">Hi Igor,<br><br>Actually, I have this working config( it has only one plone site in /live/SBO)<br><br><div style="margin-left: 40px;"> server {<br> listen 80;<br> server_name <a href="http://w01.xxxxxxx.com" target="_blank">w01.xxxxxxx.com</a>;<br>
<br> access_log logs/plone.access.log main;<br> location = / {<br> rewrite (.*) /live/SBO last;<div class="Ih2E3d"><br> }<br><br> location / {<br> proxy_pass <a href="http://localhost:6081" target="_blank">http://localhost:6081</a>;<br>
</div><div class="Ih2E3d">
include /usr/local/nginx/includes/proxy.conf;<br> }<br> }<br></div></div>But, in the server mentioned below, all the plone sites exist in "/".<br>Thats what i did.<br>Suggestions?<br><div class="gmail_quote">
<div class="Ih2E3d">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
> Hi,<br>
><br>
> I am having some 10 Plone sites running on a Zope instance in port 8002.<br>
> I have configured it to run behind varnish port 6081.<br>
><br>
> now, my nginx configuration is<br>
><br>
> server {<br>
> listen 80;<br>
> server_name <a href="http://server03.example.in" target="_blank">server03.example.in</a>;<br>
><br>
> #charset koi8-r;<br>
><br>
> #access_log logs/host.access.log main;<br>
<br>
</div>This is a cycle.<br>
<br>
> location = / {<br>
> rewrite (.*) / last;<br>
> }<br>
<br>
What do you intend by this ?<br>
<div><br>
> location / {<br>
> proxy_pass <a href="http://localhost:6081" target="_blank">http://localhost:6081</a>;<br>
<br>
</div>+ proxy_set Host $host;</blockquote></div><div>Is this complusory?<br>What it does? <br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div>
> include /usr/local/nginx/includes/proxy.conf;<br>
> }<br>
><br>
> Is this right for the specified config?<br>
> Cause its not working<br>
> (Actually when we give our <a href="http://localhost:8002" target="_blank">http://localhost:8002</a>, It opens up the main page,<br>
> from there requests all handled for each site)</div></div></blockquote><div> </div><div>Thanks<br>Vishnu<br></div></div></div>
</div><br>