Igor: I do not, I only have those two.<div><br></div><div>Roxis: I cant do this easily since I can't use a location directive because this is at the http level rather than the server level.</div><div><br class="webkit-block-placeholder">
</div><div><br class="webkit-block-placeholder"></div><div><div class="gmail_quote">On Thu, Feb 21, 2008 at 1:19 AM, Roxis <<a href="mailto:roxis@list.ru">roxis@list.ru</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="Wj3C7c">On Thursday 21 February 2008, Jamie Quint wrote:<br>
> I have this under http in my nginx.conf file:<br>
> error_page 404 /var/www/apps/myapp/templates/404.html;<br>
> error_page 502 503 504 /var/www/apps/myapp/templates/500.html;<br>
><br>
> I can access these at <a href="http://myapp.com/500.html" target="_blank">myapp.com/500.html</a> and <a href="http://myapp.com/400.html" target="_blank">myapp.com/400.html</a> but when I<br>
> get a 502 gateway error instead of displaying the 500.html page I get the<br>
> default nginx page. Any suggestions?<br>
<br>
</div></div>you should specify URI or URL, but not full path<br>
<br>
error_page 404 /404.html;<br>
error_page 502 503 504 /500.html;<br>
<br>
</blockquote></div><br></div>