I update nginx to 1.4.7 and php to 5.5.12, After that I got the 502 error. Before I update everything works fine.
Also check SELINUX (/etc/selinux):
# getenforce
turn it off:
# setenforce 0