<p class="MsoNormal">On second thought don’t you think the file check in the “if”
condition is expensive considering it will be executed on every hit?</p><p class="MsoNormal">-Quintin </p><br><div class="gmail_quote">On Fri, Nov 4, 2011 at 8:43 AM, Quintin Par <span dir="ltr"><<a href="mailto:quintinpar@gmail.com">quintinpar@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><p>Thanks Valentin. This worked like a charm. </p>

<p>I spend nearly 2-3 hours trying for a solution that
evaded “if” and just “try_files”. Even the official wiki supported that. </p>

<p>There are a lot of solutions out in the wild and most for
them don’t work. Thanks again for the help. </p>

<p> -Quintin</p><div class="im"><div class="gmail_quote">On Fri, Nov 4, 2011 at 1:48 AM, Valentin V. Bartenev <span dir="ltr"><<a href="mailto:i@vbart.ru" target="_blank">i@vbart.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>location = /during_build.html {<br>
        root /var/www/;<br>
        internal;<br>
    }</div></blockquote></div><br></div></div>
</blockquote></div><br>