Getting 502 Errors on plesk
Try and disable nginx and re-configure your apache configuration to see if it will correct the errors nginx is showing.
To disable nginx, issue :
# /usr/local/psa/admin/bin/nginxmng -d
To reconfigure your apache configuration issue :
# /usr/local/psa/admin/bin/httpdmng --reconfigure-all