You bring your web app in a
- GitHub repo
- App Platform handles deployments and builds
- DNS, HTTPS, CDN, DDoS Mitigation, Vertical Scaling, Horizontal Scaling, and more.
How to check error logs for flask/uwsgi/nginx app?
I am trying to follow this tutorial https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uwsgi-and-nginx-on-ubuntu-14-04
I can run python myapp.py, it starts correctly on port 5000. When trying to access it to check everything works by going to serverip:5000, I got an internal server error. Where are the errors logged? How can I debug it? I don’t want to proceed to the next step until it is fixed.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×