By the way... Error 502 does not mean a lot....
My error message from nginx was:
2012/11/16 10:28:28 [error] 2011#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: y.y.y.y, server: akim.sissaoui.com, request: "GET / HTTP/1.1", upstream...