Error 500 only when starting production

Hi,

I’m trying to install erpnext whole week.
I have Debian server with some sites on Apache.

I configured frappe with ERPnext to use 8000 port. When I’m starting it from “bench start” - it working nicely.
When I starting production mode, nginx giving Internal Server Error 500. I’m trying to find in error logs something, but I can’t.

Could anyone help me with that?