2009/9/4 Nuno Magalhães <nunomagalhaes@eu.ipp.pt>
> <snip>
> error_page 500 502 503 504 /50x.html;
> location = /50x.html {
> root /var/www/nginx-default;
> }
> location ~ \.(php|html)$ {
> fastcgi_pass localhost:8888;
> fastcgi_index index.php;
> fastcgi_param SCRIPT_FILENAME
> /var/www/nginx-default$fastcgi_script_name;
> fastcgi_param DOCUMENT_ROOT /var/www/nginx-default;
> fastcgi_intercept_errors on;
> include fastcgi_params;
> }
> }
>
>
hm, I would suggest you take out the '502' 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.
-jf