uwsgi problems
Steven Williams
theblessedadventhope at gmail.com
Thu Oct 9 20:52:41 UTC 2014
-----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/my_virtualenv/run/uwsgi.sock; include
> uwsgi_params; }
Changed my configuration to use the unix:/// notation. Still no change
as I am getting a 50x type error.
>
> Directory permissions: $ ls -la /var/www/my_app/my_virtualenv/run/
> total 12 drwxr-xr-x 2 www-data www-data 4096 Sep 29 13:03 .
> drwxr-xr-x 7 www-data www-data 4096 Jul 22 23:05 .. srwxr-xr-x 1
> www-data www-data 0 Sep 29 13:03 uwsgi.sock
The permission bits match (755), but they are root. On my system
(Fedora 20 on my laptop; CentOS 7 on my VPS) I do not have a www-data
user or group.
> My vassal contains: [uwsgi] socket =
> /var/www/my_app/my_virtualenv/run/uwsgi.sock uid = www-data gid =
> www-data
I don't have a vassal setup, but that doesn't make a huge difference
for just testing does it?
Is there a good, current thorough guide that I can follow?
Steven Williams
My PGP Key: http://pgp.mit.edu/pks/lookup?op=get&search=0xCACA6C74669A54FA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUNvWVAAoJEMrKbHRmmlT6rgkP/3oFcVvKss3Aaf9Vv9BkOxmL
U3t6TZ72MNpWZhDHz85iOSKrElr7ehiXwIpgEC+Id+2+cJzHPIoBsakw94vcqUeK
pVhI8yJ7rqLVryXLYo5rFnXyQl4AvOP6HlRUPPbtGuF81BaAGYi5kuUQdddLzK7T
558wycBN7ZhO5+/UTKqHEohlp+cc9StTkxzy5tcI5/2mJjYkxcusPua1dTW3hJjg
rypT7S0QBA9pwahdVHdSofySnwNG53fvE4gmwlkDpxJzS04gNw4LHsKeP4v9dU3X
5Qiibmtfd2GKw8C4JpPfJXsqObJHyc6sIRP2bHZ102QekwidgeXE7LpZTn9jHl4b
PYN22at8PPBNSWmPnxiEMIvPvAWDeoS1390ADUGFQ4nDK9iM/DTWaQ1u+T59XooB
oXYuzCSqgKmDN5aRYfLQRpEXORb/ur6LCQfCLlthuSZJnPt1jeUtz9zJghos88i2
vXyJo2DKswYEV9gwoeeStntZ/NfKib990lUS5R47e5yE9y2JXk1jPi8VeZ2omWVl
SMKNQF/6w30625OQEXLxylG8Yjxzkox/Cz33+ywL179UZghmNY5X4vHrH22DpjVA
FIFjDlkC5KfuhMf7jvFhummL9u9DVFaWXZTpDTvb/POrFdJJH2p1eDcNgzfV0mqK
i30xy/3rHRgGZpT/1sWL
=afHF
-----END PGP SIGNATURE-----
More information about the nginx
mailing list