Hi,
I'm new to web2py and I really like how easy it is to use and how excellent the documentation is.
However, I'm having some trouble deploying my "hello world" app on a vps (digital ocean droplet). I used the script scripts/setup-web2py-nginx-uwsgi-ubuntu.sh from
http://web2py.com/book/default/chapter/13#Nginx. The welcome app works fine but I can't access admin. When I try to access it I get the message "Admin is disabled because insecure channel". If I try the same link prefixed with https (i.e.
https://mydomain.com/admin/default/index) then I get a blank screen and after a couple of minutes "the server is taking too long to respond".
Here are the things I've checked
- changed "listen 80" to "listen 8080" in the configuration file because I'm using port forwarding
- checked that web2py.crt and web2py.key are in the /etc/nginx/ssl/ directory
Any ideas what I might be doing wrong? Thanks in advance for any help,
Tobias
P.S. Not sure if it's relevant, but before I used the nginx setup script I used the apache one step setup script, but I couldn't get even the welcome app to display.