Hi,
As mentioned in another post (http://talk.plesk.com/threads/ppp-17484-plesk-12-5-migration-failed-php-error-resolver-unfitsettingsresolver-php.334378/), since migration from another server to a clean CentOS 7 with Plesk 12.5, I encountered a "502 Bad Gateway" sent from Nginx for all vhosts...