502 (Bad Gateway) error - <s>urgent no longer</s>

I am getting 502 bad gateway error after fresh installation of erpnext.

the site is working fine when it access it through developer mode.

when try to access it through nginx|supervisor it throws this error. where could be the problem. pls help me.

regards.

made it worked.
supervisorctl status showed it.

frappe-web was not starting

hi @ninjas,
try Manual Production Setup step.
use following link
https://frappe.github.io/frappe/user/en/bench/guides/setup-production.html
Setup Production

Thanks