Tracking 502 bad gateway error
- by dasickle
I moved my Wordpress site to WP Engine and now I constantly get 502 errors. I spoke with support and they said that its because I have a lot of DB queries. I ran some tests and my frontpage only has 95 queries and page size is about 500kb. Most inner pages are around 60 queries. All queries are very short.
Some people tell me its common with WP Engine because they run nginx.
Why do I keep getting these errors and is there a way to track how many of them happen on daily basis?
P.S.
WP Engine log is empty so cant see the 502's there.