Error Pages related to cwpsrv (panel access) only, this are not error pages for the websites 502 Bad Gateway - Mostly this means that php-fpm is down, fix: sh /scripts/restart_cwpsrv