Debugging the http "502 Bad Gateway error"

Did you tried the steps described here : 502 Bad Gateway (SOLVED) - #4 by dduportal ?