title: How to check errors for gunicorn using sock
body: <p>I have a Django project running using gunicorn sock(not port). </p>
  
  <p>I am using supervisor to run it. The problem is - supervisor is saying that the process is running. Logs doesnt show anything.</p>
  
  <p>But site says "Bad gateway". Nginx generally shows bad gateway when the gunicorn is not running. But here, gunicorn is running without errors but nginx shows bad gateway.</p>
  
  <p>If it uses port, I would have tested locally using "wget <a href="http://localhost:8000" rel="nofollow noreferrer">http://localhost:8000</a>" but since we use sock here, how to test if its really running and why its not showing any error.</p>