I take it error_page.conf resets the error_page for 503?&nbsp; What happens if you try with something like &quot;error_page NNN = @location;&quot;?<br><br><div class="gmail_quote">On Tue, Jan 6, 2009 at 3:44 PM, Jonathan Vanasco <span dir="ltr">&lt;<a href="mailto:nginx@2xlp.com">nginx@2xlp.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;">i just discovered this after 2 hours of testing<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;If you define error_page for a server block multiple times, only the &nbsp;first one will take, subsequent ones will not override<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;That means if you store your error pages in a macro, to override it would be:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;error_page 503 /503.error<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;include /usr/local/nginx/_macros/error_page.conf;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;and not<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;include /usr/local/nginx/_macros/error_page.conf;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;error_page 503 /503.error<br>
<br>
I&#39;m not sure if this was intended or not ( personally , i don&#39;t like it ).<br>
<br>
but I wanted to share this with others. <br>
<br>
<br>
<br>
</blockquote></div><br>