Updated to latest got 502 Bad Gateway

ok i restarted the machine, now when i run bench update i don’t get any errors but it still says welcome to nginx. no erpnext site.

Ok. After running > sudo supervisorctl status
All processes are running.

But no ERPNext site. I reloaded nginx. Still. Nothing. No site in browser.

Why

Can you run bench setup nginx and reload nginx?

I did that

now i get

Internal Server Error