We keep getting 502 errors. Is that Nginx?
Nginx is reporting it, and it usually is not the cause. A 502 means the upstream did not respond acceptably, most often because the PHP-FPM or application worker pool is exhausted, or the application crashed on that request. The fix is normally worker sizing or an application bug, and the logs will distinguish them.