I'm still learning the ropes in regards to running web2py with nginx+uwsgi. The test server seems to work well, but UptimeRobot gets a 500 error from time to time, which results in a "server is down" message. When I look in the logs, the uwsgi.log reports the 500, but no details. There isn't anythin logs/web2py.log. I finally remembered to look in applications/errors, and there were tickets, and figured out the problem. The dim little lamp that came on was the "generated 851 bytes" in the uwsgi.log.
Is there a way to get the ticket number into web2py.log? Uptime Robot doesn't call my support line to read the ticket number to me.
(Footnote: in this case it was a permissions issue in a subfolder of the application's sessions directory.)
/dps