title: Mamp Pro Nginx 502 Bad Gateway in WordPress admin-ajax.php
body: <p>I've recently migrated a WordPress site:</p>
  
  <p>From: Mamp Pro / Apache / PHP 5.6.32 / MySQL 5.5.38</p>
  
  <p>To: Mamp Pro / Nginx / PHP 7.0.14 / MySQL 6.5.38</p>
  
  <p>One issue I've been having is in the WP 'Add New Post' screen, I'm getting a 502 (Bad Gateway) error in the console log coming from wp-admin/admin.ajax.php.</p>
  
  <p>Does anyone know how to fix this error?</p>
  
  <p>Thanks in advance!</p>