i took care of this by doing, would be interested to know if there is a better way.<br><br>  location /<br>  {<br>    index index.html index.htm;<br>    try_files $uri $uri/ @seaside;<br>    error_page 403 = @seaside;<br>  }<br>
<br>  location ~ ^/$<br>  {<br>    index no;<br>    error_page 403 = @seaside;<br>  }<br><br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 12:18 PM, Sean Allen <span dir="ltr">&lt;<a href="mailto:sean@monkeysnatchbanana.com">sean@monkeysnatchbanana.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Have nginx in from of an application server where <br><br>/<br>or<br>directory /<br><br>if the index doesn&#39;t exist needs to be sent to backend...<br>
<br>right now i&#39;m doing this to get it to work sort of<br><br>  location /<br>
  {<br>    index no;<br>    try_files $uri $uri/ @seaside;<br>    error_page 403 = @seaside;<br>  }<br><br>If I don&#39;t have the 403, then trying to get<br><br><a href="http://localhost/" target="_blank">http://localhost/</a><br>
<br>Results in a 403 forbidden. It doesnt pass it along to backend via fastcgi<br>
<br>How can I have that handled and still have an index file take precedence if it exists?<br>
</blockquote></div><br>