Re: uwsgi problems

2014-10-12 Thread Steven Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/10/2014 12:13 AM, Roberto De Ioris wrote: > This covers basically any aspect of a production > ready-deployments: > > http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html > > as you can see it uses tcp sockets when describing nginx

Re: uwsgi problems

2014-10-10 Thread Valentin V. Bartenev
On Thursday 09 October 2014 10:49:38 Greg Barker wrote: > Option #2 should work, here's what I have for my uwsgi site. Double check > your permissions on the directory the uwsgi.sock lives in. > > My nginx conf: > location / { > uwsgi_pass unix:///var/www/my_app/my_virtualenv/run/uwsgi.sock; >

Re: uwsgi problems

2014-10-09 Thread Roberto De Ioris
> -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/09/2014 12:49 PM, Greg Barker wrote: >> Option #2 should work, here's what I have for my uwsgi site. >> Double check your permissions on the directory the uwsgi.sock lives >> in. >> >> My nginx conf: location / { uwsgi_pass >> unix:///var

Re: uwsgi problems

2014-10-09 Thread Greg Barker
Shouldn't matter that you don't have a www-data user, that just happens to be the one I am using. I am running uwsgi in emperor mode so my worker processes have that uid $ ps aux | grep uwsgi root 798 0.0 0.0 31748 2296 ?Ss Sep29 0:24 /var/www/my_app/my_virtualenv/bin/uwsgi -

Re: uwsgi problems

2014-10-09 Thread Steven Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/2014 12:49 PM, Greg Barker wrote: > Option #2 should work, here's what I have for my uwsgi site. > Double check your permissions on the directory the uwsgi.sock lives > in. > > My nginx conf: location / { uwsgi_pass > unix:///var/www/my_app/m

Re: uwsgi problems

2014-10-09 Thread Greg Barker
Option #2 should work, here's what I have for my uwsgi site. Double check your permissions on the directory the uwsgi.sock lives in. My nginx conf: location / { uwsgi_pass unix:///var/www/my_app/my_virtualenv/run/uwsgi.sock; include uwsgi_params; } Directory permissions: $ ls -la /var/ww

uwsgi problems

2014-10-09 Thread Steven Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have been trying to get nginx to talk to uwsgi to no avail. uwsgi works by itself as I can host it on port 80 on my local machine with no problems. I have tried configuring nginx with the following variations: # option 1 location / { include uws