2009/9/4 Nuno Magalhăes <span dir="ltr">&lt;<a href="mailto:nunomagalhaes@eu.ipp.pt">nunomagalhaes@eu.ipp.pt</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&lt;snip&gt;<br>
        error_page   500 502 503 504 /50x.html;<br>
        location = /50x.html {<br>
                root   /var/www/nginx-default;<br>
        }<br>
        location ~ \.(php|html)$ {<br>
                fastcgi_pass   localhost:8888;<br>
                fastcgi_index  index.php;<br>
                fastcgi_param  SCRIPT_FILENAME<br>
/var/www/nginx-default$fastcgi_script_name;<br>
                fastcgi_param DOCUMENT_ROOT /var/www/nginx-default;<br>
                fastcgi_intercept_errors on;<br>
                include fastcgi_params;<br>
        }<br>
}<br>
<br></blockquote><div><br><br>hm, I would suggest you take out the &#39;502&#39; from your error_page handling. You want to see whether the 502 is coming from your fastcgi... or nginx. Take a look at your php error logs as well.<br>
<br>-jf<br><br><br></div></div>