Re: NGINX + GUNICORN

2020-09-11 Thread Julio Cojom
It depends, some people use virtualenvs, so you need to install gunicorn in each project. https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04 this might help, just change dependencies install to fit your os. In my case, I deploy

Re: NGINX + GUNICORN

2020-09-11 Thread Kasper Laudrup
Hi Giovanni, On 11/09/2020 12.24, Giovanni Silva wrote: No... I want to access www.aidacomunicacao.com.br and I hope see the django webpage Then don't listen on port 81, but use the default port 80 for non-encrypted HTTP traffic. Kind regards, Kasper

Re: NGINX + GUNICORN

2020-09-11 Thread Giovanni Silva
No... I want to access www.aidacomunicacao.com.br and I hope see the django webpage Em sex, 11 de set de 2020 04:39, Kasper Laudrup escreveu: > Hi Giovanni, > > On 10/09/2020 23.58, Giovanni Silva wrote: > > */This doesn't work. /* > > > > NGINX - FILE > > server { > > listen 81; > > s

Re: NGINX + GUNICORN

2020-09-11 Thread Kasper Laudrup
Hi Giovanni, On 10/09/2020 23.58, Giovanni Silva wrote: */This doesn't work. /* NGINX - FILE server {     listen 81;     server_name www.aidacomunicacao.com.br If I go to http://www.aidacomunicacao.com.br:81/ as you have configured here, I see the default Django welcome page. Is this no

Re: NGINX + GUNICORN

2020-09-11 Thread Sunday Iyanu Ajayi
> The nginx and gunicorn is running, but when I try to access my site, >> > appears the default page of nginx.. >> > >> > Any suggestions?? >> > >> >> You would probably have a better chance of getting some help if you >> provide us with the rel

Re: NGINX + GUNICORN

2020-09-10 Thread Giovanni Silva
reveu: > Hi Giovanni, > > On 10/09/2020 07.59, Giovanni Silva wrote: > > Dears, > > > > can anyone help-me to configure a NGINX + GUNICORN to multiple projects? > > > > for the first project everything is work fine, for the second project, I > > create a n

Re: NGINX + GUNICORN

2020-09-10 Thread Sunday Iyanu Ajayi
In your nginx project file in /etc/nginx/site-available/xx, did you include the ip of the server you are working on? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Thu, Sep 10, 2020 at 7:00 AM Giovanni Silva wrote: > Dears, > > can anyone help-me to configur

Re: NGINX + GUNICORN

2020-09-10 Thread 'Amitesh Sahay' via Django users
Please make sure that gunicorn.service file has same entry of project dir path as nginx. Regards, Amitesh On Thursday, 10 September, 2020, 01:09:20 pm IST, Giovanni Silva wrote: Dears,  can anyone help-me to configure a NGINX + GUNICORN to multiple projects? for the first project

Re: NGINX + GUNICORN

2020-09-10 Thread Kasper Laudrup
Hi Giovanni, On 10/09/2020 07.59, Giovanni Silva wrote: Dears, can anyone help-me to configure a NGINX + GUNICORN to multiple projects? for the first project everything is work fine, for the second project, I create a new .socket file and new service file.. The nginx and gunicorn is

NGINX + GUNICORN

2020-09-09 Thread Giovanni Silva
Dears, can anyone help-me to configure a NGINX + GUNICORN to multiple projects? for the first project everything is work fine, for the second project, I create a new .socket file and new service file.. The nginx and gunicorn is running, but when I try to access my site, appears the default page

Post - Deploy project Django-Nginx,gunicorn,virtualenv and supervisor

2015-07-04 Thread Roberth Solis Martínez
Hi guys in this post i can learn, how to deploy app in server with django :), and i share it with us ! http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ -- You received this message because you are subscribed to the Google Groups "Django users"

Deploying Django, nginx , gunicorn, postgresql

2015-02-20 Thread Tony Kyriakidis
re on Stack overflow i posted every detail. Please take a look at it. http://stackoverflow.com/questions/28629112/502-bad-gateway-django-nginx-gunicorn-postgresql-virtualenv?noredirect=1#comment45560477_28629112 Thank in advance. -- You received this message because you are subscribed to the G

Re: /admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2014-05-09 Thread Daniel Oźminkowski
It's voodoo. ;) >>>> >>>> Best regards, >>>> Daniel Ozminkowski >>>> >>>> 2013/7/18 Daniel Oźminkowski >>>> >>>>> Hello, >>>>> >>>>> first I want to state, that I am a beginner

Re: /admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2014-05-08 Thread Francisco Roldan
>>> It's voodoo. ;) >>> >>> Best regards, >>> Daniel Ozminkowski >>> >>> 2013/7/18 Daniel Oźminkowski > >>> >>>> Hello, >>>> >>>> first I want to state, that I am a beginner and everything st

Re: /admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2013-07-25 Thread Daniel Oźminkowski
; >>> Hello, >>> >>> first I want to state, that I am a beginner and everything still works a >>> little like magic for me. I have always worked with django by running it >>> with runserver. Recently decided to put it on virtual machine and serve the >>&

Re: /admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2013-07-24 Thread Mike Doroshenko II
I have always worked with django by running it with runserver. Recently decided to put it on virtual machine and serve the site with nginx + gunicorn. I understand how to serve static files and so on. Even my app works. I hit the problem when I try to access built-in admin interface. Everytime

Re: /admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2013-07-24 Thread Avraham Serour
>> first I want to state, that I am a beginner and everything still works a >> little like magic for me. I have always worked with django by running it >> with runserver. Recently decided to put it on virtual machine and serve the >> site with nginx + gunicorn. I understand how to

Re: /admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2013-07-24 Thread Daniel Oźminkowski
2013/7/18 Daniel Oźminkowski > Hello, > > first I want to state, that I am a beginner and everything still works a > little like magic for me. I have always worked with django by running it > with runserver. Recently decided to put it on virtual machine and serve the > site with ng

/admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2013-07-17 Thread Daniel Oźminkowski
Hello, first I want to state, that I am a beginner and everything still works a little like magic for me. I have always worked with django by running it with runserver. Recently decided to put it on virtual machine and serve the site with nginx + gunicorn. I understand how to serve static

Re: nginx gunicorn

2011-12-19 Thread Dusan Simek
Yes, apache with mod_wsgi the same - processor overload on benchmark. Is it problem in application? On Mon, 19 Dec 2011 13:15:09 +0100, kenneth gonsalves wrote: On Mon, 2011-12-19 at 02:17 -0800, pixelfields wrote: but ... this not solved my problem. I increase worker_processes to 2, but d

Re: nginx gunicorn

2011-12-19 Thread Dusan Simek
For gunicorn I have 2 workers: gunicorn: [program:xxx] command=/usr/local/bin/gunicorn_django -w 2 -b 127.0.0.1:8002 --timeout 600 /usr/local/src/pythonapps/xxx/app/settings_production.py directory=/usr/local/src/pythonapps/xxx user=www-data autostart=true autorestart=true stdout_logfile=/var

Re: nginx gunicorn

2011-12-19 Thread kenneth gonsalves
On Mon, 2011-12-19 at 02:17 -0800, pixelfields wrote: > but ... this not solved my problem. I increase worker_processes to 2, > but during test I still have processor overload 98% - 100%. > > how many workers do you have for gunicorn? Also do you have the same problem when using some other webse

Re: nginx gunicorn

2011-12-19 Thread pixelfields
Thanks a lot, but ... this not solved my problem. I increase worker_processes to 2, but during test I still have processor overload 98% - 100%. regards Dusan Simek On Dec 19, 10:59 am, kenneth gonsalves wrote: > On Mon, 2011-12-19 at 09:03 +0100, Dusan Simek wrote: > > worker_processes  1; > >

Re: nginx gunicorn

2011-12-19 Thread kenneth gonsalves
On Mon, 2011-12-19 at 09:03 +0100, Dusan Simek wrote: > worker_processes 1; worker_processes 2 or more; -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Fwd: nginx gunicorn

2011-12-19 Thread Dusan Simek
--- Forwarded message --- From: "Dusan Simek" To: django-users@googlegroups.com Cc: Subject: nginx gunicorn Date: Mon, 19 Dec 2011 09:03:05 +0100 Hi guys, I just finished with easy application based on django 1.3 and postgres and deploy it to production using nginx, gunicorn and supervisor.

nginx gunicorn

2011-12-19 Thread Dusan Simek
Hi guys, I just finished with easy application based on django 1.3 and postgres and deploy it to production using nginx, gunicorn and supervisor. But now I have a big problem, because when I run a stress test (using ab with params ab -c 100 -n 1000), my 2 core processor is totally overload