uwsgi problems

Steven Williams theblessedadventhope at gmail.com
Thu Oct 9 12:45:32 UTC 2014


-----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 uwsgi_params;
    uwsgi_pass unix:/tmp/uwsgi.sock;
}

# option 2
location / {
    include uwsgi_params;
    uwsgi_pass unix:///tmp/uwsgi.sock;
}

# option 3
location / {
    include uwsgi_params;
    uwsgi_pass 127.0.0.1:3000;
}

These are the corresponding errors I get:

# option 1

# option 2
2014/10/08 14:24:39 [crit] 15736#0: *8 connect() to
unix:///tmp/uwsgi.sock failed (2: No such file or directory) while
connecting to upstream, client: 127.0.0.1, server: localhost, request:
"GET / HTTP/1.1", upstream: "uwsgi://unix:///tmp/uwsgi.sock:", host:
"127.0.0.1"

# option 3


- -- 
Steven Williams
My PGP Key: http://pgp.mit.edu/pks/lookup?op=get&search=0xCACA6C74669A54FA

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUNoNoAAoJEMrKbHRmmlT6pWkP/i5w/RJdEKOS9C22W6WxIbmr
MjrTH4L0FwrCizZnI+dV+2XnYSEkky4GzefaoffpoWsr/sfA7UwMYfjSiYrWcxxE
3U4mbyJVpxiJmafVswoifKJspHTGtsFDwigm0/k04TTml8exPK9sjLUFF4I/um7H
CzEOvHahC1GIaeEWl+38GZAmSnBNo99TGSpQKzWaZ9zw5hed+ySkVj/nMIijNp0Y
euLOKuH93JzSgRAY54fxVd8J+mLRh+HX/NUfAkEoDtJ2Bq6ltcgTmy4Q5HHTwrxP
8ekQk1Pmea7SMFiAU/zkD4WVTp3tyXX5F31DtTXXzGKVTt0VJZBbmXK1AwIO8H9h
RyVyg10T5+4PCPWSpn7SLtAgdDupb7YXTXP4Owov7P47bawy6+z+9LaE5/IWc8V7
DY477LLmnbYK0M8voJcgcIVLWsS65yTr8l7S6tXBI8ONRmiPvr33MInGy14JefCv
fXCkeCOYCwa6dVGLFHMHpDLcSWzxPPCSMjHyTOu2KpTpjwJO7qGpoZVXlrKt+Qkq
JeFCAhbSAsPI1v8dcf5JzXXz1bjnOKhSVWQFgYg+MTqNoWq3oG1JLhuO19VR4Wb/
Kol91PhT6FkQITMWeBNftMqzatuk1sD5vXxl8kgycJTFCbtys64DKGgBmpkyfa56
2z62sKR23yH7VJuu4knb
=9laf
-----END PGP SIGNATURE-----



More information about the nginx mailing list