500 internal server error nignx

I created a simple Hello world app using dash which is working fine locally but giving "500 internal server error nignx " on plotly enterprise.
Any solution to this issue ?
Thanks