Thanx you very much, i've spent days on this issueI'm sorry to hear that, especially because when I was using uwsgi I was also spending days for various issues. All this pain went away when I started to use Gunicorn. You can read more about that in https://djangodeployment.com/2017/01/02/which-wsgi-server-should-i-use/.
Regards,
A.
Antonis Christofides http://djangodeployment.com
On 03/17/2017 09:19 AM, valerio orfano wrote:
I want to thank Melvyn publicly, without his support i wouldn't succed!--
unix:/// in the uwsgi.ini file DOES NOT work (at least in Centos)
insted unix:/ WORKS OUT
Thanx you very much, i've spent days on this issue
On Thursday, March 16, 2017 at 8:58:52 PM UTC+1, Melvyn Sopacua wrote:On Thursday 16 March 2017 11:04:53 valerio orfano wrote:
> http://uwsgi-docs.readthedocs.
io/en/latest/Nginx.htm *sigh*
http://nginx.org/en/docs/http/
ngx_http_uwsgi_module.html# uwsgi_pass
unix:/path/to
Maybe unix:/// works, maybe it doesn't. But file:/// is supposed to be the exception to the URI rules, not the rule itself.
Also, just providing a plain path (socket = /var/run/uwsgi/myapp.sock) in uwsgi.ini works.
Of course, it will try to create the socket under the user uwsgi runs as, so permissions for the directory need to allow that.
--
Melvyn Sopacua
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b6cfe3f2-ca74-44b3-830a-25c5f3c8afc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment