Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-10 Thread Francis Daly
On Sat, Sep 08, 2018 at 11:25:32PM -0400, Frank_Mascarell wrote: Hi there, > I found the problem. An update of Whitenoise to 4.0 where you must > change the shape of the configuration, caused that with my old configuration > the gunicorn service will throw errors. The rest is all right. > > http

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-08 Thread Frank_Mascarell
Greetings, I think my days of suffering are over. After reading hundreds of logs, I found the problem. An update of Whitenoise to 4.0 where you must change the shape of the configuration, caused that with my old configuration the gunicorn service will throw errors. The rest is all right. http://wh

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-06 Thread Francis Daly
On Wed, Sep 05, 2018 at 06:51:38PM -0400, Frank_Mascarell wrote: Hi there, > root@BaseVPS-ubuntu1804-django20:~# curl -v https://15.15.15.15/test > * SSL certificate problem: self signed certificate > * Closing connection 0 > curl: (60) SSL certificate problem: self signed certificate Ok, that'

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-05 Thread Frank_Mascarell
root@BaseVPS-ubuntu1804-django20:~# curl -v https://15.15.15.15/test * Trying 15.15.15.15... * TCP_NODELAY set * Connected to 15.15.15.15 (15.15.15.15) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certif

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-05 Thread Francis Daly
On Wed, Sep 05, 2018 at 04:49:19PM -0400, Frank_Mascarell wrote: Hi there, > It has also tried the proxy_passs an http, with the same error. Can you run a command like "curl -v https://15.15.15.15/test";, and show the output that you get? And if it is curl reporting that it does not like the ce

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-05 Thread Frank_Mascarell
It has also tried the proxy_passs an http, with the same error. This is like finding a needle in a pocket: stressful and disappointing. root@BaseVPS-ubuntu1804-django20:~# systemctl status gunicorn ● gunicorn.service - gunicorn daemon Loaded: loaded (/etc/systemd/system/gunicorn.service; disab

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-05 Thread Francis Daly
On Tue, Sep 04, 2018 at 02:30:18PM -0400, Frank_Mascarell wrote: Hi there, > I have a VPS on Digital Ocean with Ubuntu 18.04, Nginx, Gunicorn, Django, > and a test web application, all configured (ufw) to work with http: 80. > Everything works perfectly. > Now I modify the file /sites-available

Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-04 Thread Frank_Mascarell
I have a VPS on Digital Ocean with Ubuntu 18.04, Nginx, Gunicorn, Django, and a test web application, all configured (ufw) to work with http: 80. Everything works perfectly. Tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18