I am configuring nginx with uwsgi on EC2, I have check logs in file
/var/log/nginx/error.log.
I am getting this error:
200 connect() to unix:/tmp/uwsgi.sock failed (2: No such file or directory) while connecting to upstream
My uwsgi.sock location is /var/www/myapp/
How can I change the file location from uwsgi://unix:/tmp/uwsgi.sock to uwsgi://unix:/var/www/myapp/ in configuartion?