what did not work?

did you installed uwsgi + nginx + web2py ?

you dont need to start web2py manually on command line, uwsgi will do that
for you.

Checklist

DNS
- Is your DNS pointing to your server IP? www.domain.com gives you what?

NGINX server file for your application
- /etc/nginx/sites-available what do you have on that folder? what the
content of the file? (put it on pastebin)

Is that enabled?
- /etc/nginx/sites-enabled there is symbolic links here?

UWSGI app config
- /etc/uwsgi-python/apps-available Can you see some xml file here?
(pastebin)

is that enabled?
- /etc/uwsgi-python/apps-enabled Symbolic links here?

Services are running
$/etc/init.d/uwsgi-python status
$/etc/init.d/nginx status

How is your nginx configuration
- /etc/nginx/nginx.conf - what is the user for worker? (pastebin)

Do the nginx/uwsgi user have permissions to run the app?
- ll /home/www-data/web2py - (the permissions are for www-data user?)

Are you having firewall issues?
$ iptables -L


which script did you run?




On Sat, Mar 17, 2012 at 2:23 AM, Marco Tulio Cicero de M. Porto <
mtcpo...@gmail.com> wrote:

> Hi!
>
> I was having trouble on running web2py on nginx, but then I ran the script
> that comes within web2py and it installed.
> After that, I tried creating an app, but it didn't work.
> Then I stopped the server and started web2py like this:
> python2.6 web2py.py
> and then restarted nginx.
> I was able to create my apps.
>
> But I don't know why and it bugs me.
> I want use that for production, but not sure if I can use it like that.
>
> Any ideias?
>
> Thanks!
>
> --
> []'s
> Marco Tulio
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to