Re: Django and Nginx through uwsgi is not working

2017-03-17 Thread Vijay Khemlani
I fail to see what's so complex of uwsgi for a simple deploy, my typical configuration file has 8 lines On 3/17/17, Antonis Christofides wrote: >> Thanx you very much, i've spent days on this issue > I'm sorry to hear that, especially because when I was using uwsgi I was > also > spending days fo

Re: Django and Nginx through uwsgi is not working

2017-03-17 Thread Antonis Christofides
> Thanx you very much, i've spent days on this issue I'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-w

Re: Django and Nginx through uwsgi is not working

2017-03-17 Thread valerio orfano
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 Th

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread Melvyn Sopacua
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 UR

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread Rafael E. Ferrero
I've been using this tutorial on a Salix Linux and everythings goes well Rafael E. Ferrero 2017-03-16 15:04 GMT-03:00 valerio orfano : > I got it here "http://uwsgi-docs.read

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread valerio orfano
I got it here "http://uwsgi-docs.readthedocs.io/en/latest/Nginx.html"; and others actually On Thursday, March 16, 2017 at 4:51:35 PM UTC+1, Melvyn Sopacua wrote: > > On Thursday 16 March 2017 05:25:32 valerio orfano wrote: > > > > > Here my configurations files. > > > > > > [uwsgi] > > > chdi

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread Melvyn Sopacua
On Thursday 16 March 2017 05:25:32 valerio orfano wrote: > Here my configurations files. > > [uwsgi] > chdir = /home/elastic/workspace/ES_Brevetti > wsgi-file = ES_Brevetti/wsgi.py > master = true > processes = 5 > uid = nginx > gid = nginx > socket = unix:///socke

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread valerio orfano
Hi Tom if i dont create the file i get the error: unix:///tmp/uwsgi.sock failed (2: No such file or directory) On Thursday, March 16, 2017 at 1:47:12 PM UTC+1, Tom Evans wrote: > > On Thu, Mar 16, 2017 at 12:25 PM, valerio orfano > wrote: > > Hi All > > > > i ve created a django application n

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread valerio orfano
Ya it was a typo when writing On Thursday, March 16, 2017 at 1:30:21 PM UTC+1, Vijay Khemlani wrote: > > Not sure if a typo on your email, but your command says > > "chown nginx:nginx -R /sockect/uwsgi.sock" > > sockect ? > > On 3/16/17, valerio orfano > wrote: > > Hi All > > > > i ve create

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread 'Tom Evans' via Django users
On Thu, Mar 16, 2017 at 12:25 PM, valerio orfano wrote: > Hi All > > i ve created a django application not using virtual environment. I ve > installed nginx and trying to integrate them via uwsgi application. > Here my configurations files. > > [uwsgi] > chdir = /home/elastic/workspace/ES_

Re: Django and Nginx through uwsgi is not working

2017-03-16 Thread Vijay Khemlani
Not sure if a typo on your email, but your command says "chown nginx:nginx -R /sockect/uwsgi.sock" sockect ? On 3/16/17, valerio orfano wrote: > Hi All > > i ve created a django application not using virtual environment. I ve > installed nginx and trying to integrate them via uwsgi application.