Re: [web2py] Re: can't access admin interface when using nginx deployment script

2014-02-17 Thread Janos Tobias Locsei
Lol, please bear with me... I still have a question about what read/write privileges the www-data user and group should have. I changed them along the way as I was trying to get things to work, and I suspect I've given too strong permissions. The permissions as they stand now for the web2py folder

Re: [web2py] Re: can't access admin interface when using nginx deployment script

2014-02-17 Thread Janos Tobias Locsei
Update: actually I do have a user called www-data, and things are working as expected now. What tripped me up was that using "sudo -u www-data " gave an error "No such file or directory", and it turned out it was because I had an alias for sudo. So, using "/usr/bin/sudo -u www-data " works as expe

Re: [web2py] Re: can't access admin interface when using nginx deployment script

2014-02-17 Thread Janos Tobias Locsei
Thanks Anthony, that's the problem - I hadn't opened port 443 in my iptables. I knew it would be something silly. It works now. I also had to change a couple of other things to make it work. Would either of the below compromise the security of my setup? 1. I removed the "-u www-data" option in th

[web2py] Re: can't access admin interface when using nginx deployment script

2014-02-17 Thread Anthony
Why are you port forwarding? Is SSL still on port 443? Anthony On Monday, February 17, 2014 5:48:02 AM UTC-5, Tobias Locsei wrote: > > 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 "

[web2py] Re: can't access admin interface when using nginx deployment script

2014-02-17 Thread Tobias Locsei
Hi Tim, I'm using ubuntu 13.10. Is there an error log or something I can post here to help figure out what went wrong? Tobias On Monday, February 17, 2014 6:41:32 PM UTC, Tim Richardson wrote: > > What OS? I've used ubuntu 12.04 a few times and the apache script works > perfectly. -- Resourc