I am frequently getting this 502 bad gateway error, because of this my site becoming unavailable. Please help me how to solve this problem. I am using plesk on centOS 7, this error came in debian 8 also. I am using plesk 12.5, i tried 17.0.10 (preview version), this error came in that also...