I am attempting to deploy a flask webapp on digital ocean, but I keep getting "internal server error" whenever I attempt to do anything involving POST requests (such as logging in or registering). The app works fine when I run it using flask's built-in server.
I used parts 1 & 2 in this tutorial to set it up, with the exception of replacing flask_project with the name of my project, and newuser with my username. Does anybody know how I can fix this, or at the very least, go about diagnosing the problem? Are there error logs somewhere?
I notice the sample app used in the example only uses GET requests, which work fine. My guess is that I need to do configuration slightly differently in order to get POST to work as well. However, I can't find any tutorials on how to properly do this.
Thanks in advance
Update: So I wiped the sever clean and started over, this time using this tutorial on how to deploy on apache. Still having the same problem.