<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;">&nbsp; server {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; listen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 80;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server_name&nbsp; <a href="http://w01.xxxxxxx.com" target="_blank">w01.xxxxxxx.com</a>;<br>

<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; access_log&nbsp; logs/plone.access.log&nbsp; main;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; location = / {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewrite (.*) /live/SBO last;<div class="Ih2E3d"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; location / {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_pass <a href="http://localhost:6081" target="_blank">http://localhost:6081</a>;<br>
</div><div class="Ih2E3d">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include /usr/local/nginx/includes/proxy.conf;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br></div></div>But, in the server mentioned below, all the plone sites exist in &quot;/&quot;.<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>
&gt; Hi,<br>
&gt;<br>
&gt; I am having some 10 Plone sites running on a Zope instance in port 8002.<br>
&gt; I have configured it to run behind varnish port 6081.<br>
&gt;<br>
&gt; now, my nginx configuration is<br>
&gt;<br>
&gt; &nbsp;server {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; listen &nbsp; &nbsp; &nbsp; 80;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; server_name <a href="http://server03.example.in" target="_blank">server03.example.in</a>;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; #charset koi8-r;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; #access_log &nbsp;logs/host.access.log &nbsp;main;<br>
<br>
</div>This is a cycle.<br>
<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; location = / {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rewrite (.*) / last;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
<br>
What do you intend by this ?<br>
<div><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;location / {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_pass <a href="http://localhost:6081" target="_blank">http://localhost:6081</a>;<br>
<br>
</div>+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_set &nbsp;Host &nbsp;$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>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;include /usr/local/nginx/includes/proxy.conf;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
&gt;<br>
&gt; Is this right for the specified config?<br>
&gt; Cause its not working<br>
&gt; (Actually when we give our <a href="http://localhost:8002" target="_blank">http://localhost:8002</a>, It opens up the main page,<br>
&gt; from there requests all handled for each site)</div></div></blockquote><div>&nbsp;</div><div>Thanks<br>Vishnu<br></div></div></div>
</div><br>