11👍
According to the documentation (http://gunicorn-docs.readthedocs.org/en/latest/run.html), you should use: unix:$(PATH)
, meaning your command should read:
gunicorn myapp.wsgi:application --bind=unix:/webapps/myapp/run/gunicorn.sock
- Programmatically Upload Files in Django
- Django RestFramework group by
- How to get field names when running plain sql query in django
0👍
In my case the issue was in permissions of the sock
file. I created new sock
file in home directory of non-sudo
user in non-sudo
mode and reconfigured and it worked.
Source:stackexchange.com