Deployment of Dash with Python

I’m trying deploying a Dash application using nginx, supervisor, and gunicorn. I keep getting an error where it can load, but then I get an “error loading layout.” Is there a solution to this?