title: 502 Bad Gateway Nginx & Chef Server
body: <p>I've upgraded my chef server. Then I ran <code>chef-server-ctl reconfigure</code> successfully. 
  However, when I ran <code>chef-server-ctl test</code>, I got error:</p>
  
  <pre><code>Encountered an error attempting to create client pedant_admin_client
  Response Code was: 502
  
  502 Bad Gateway
  nginx/1.4.4
  </code></pre>
  
  <p>Can anyone help me?</p>