Thank you, Ricardo.
That works great now if I go directly to http://xxx.xxx.xxx.xx:9001 (where
xxx.xxx.xxx.xx is the ip address of the server).
However, if I go to http://test.mysite.org then I get a 504 Gateway Timeout
Error. It appears that nginx is not forwarding the request to uwsgi.
Ca
Hello curious,
I'l assume you're using web2py 2.6 (you reference the handlers/ directory,
which is new). Please review handlers/README. wsgihandler.py (all handlers
in fact) is meant to be copied to web2py's root directory. Hope this helps,
please report back...
best regards -Ricardo
On Tues
Niphlod,
Thanks again. Is uwsgi faster/safer? Anyhow, I tried doing what you said.
But instead of following the difficult instructions in the web2py book, I
used the instructions in uwsgi documentation. I have attached three files:
(1) My nginx configuration. (mysite_nginxconf.com)
(2) uwsgi co
low performances vs running web2py on uwsgi.
PS: try running uwsgi directly pointing to that config file (i.e. no
emperor mode with upstart, so you get a chance to see any logged error that
may pop up)
On Tuesday, October 22, 2013 10:15:16 PM UTC+2, curiouslearn wrote:
>
> While some helpful so
While some helpful soul helps me understand how to setup web2py to work
with nginx and uwsgi, I had another question.
Is there anything wrong, or problematic in using the following for
deployment
Run web2py using
python web2py.py -a mypasswd -i 0.0.0.0 -p 9001
and then use nginx to direct t
Niphlod,
Thanks for getting back to me. There is no file that has uwsgi-emperor in
its name in /var/log/upstart.
Anything else I can do to find what is the problem?
On Tuesday, October 22, 2013 1:03:37 PM UTC-4, Niphlod wrote:
>
> every upstart job logs something into
> /var/log/upstart/name
every upstart job logs something into
/var/log/upstart/name_of_the_service.log
check if you have something on /var/log/upstart/uwsgi-emperor.log
On Tuesday, October 22, 2013 6:48:42 PM UTC+2, curiouslearn wrote:
>
> I want to get web2py running on a Digital Ocean virtual server with nginx
> an
7 matches
Mail list logo