502 errors with xDebug

Have you looked at this issue? Timeouts during nginx xdebug session