nginx - 200 connect() to unix:/tmp/uwsgi.sock failed -
i configuring nginx uwsgi on ec2, have check logs in file /var/log/nginx/error.log
.
i getting error:
200 connect() unix:/tmp/uwsgi.sock failed (2: no such file or directory) while connecting upstream
my uwsgi.sock location /var/www/myapp/
how can change file location uwsgi://unix:/tmp/uwsgi.sock
uwsgi://unix:/var/www/myapp/
in configuartion?
this might problem classical namespaced temp, please see this: http://fedoraproject.org/wiki/features/servicesprivatetmp
but mentioned have set sock location app directory, have done in nginx configuration virtual host? need restart web server changes take affect.
please refer question , answer, might useful in case. got 'no such file or directory' error while configuring nginx , uwsgi
please refer section in nginx.conf file, uwsgi_pass mentioned. if have not made changes that, please , restart webserver. think must solve problem.
Comments
Post a Comment