informatica:letsencrypt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
informatica:letsencrypt [2021/01/26 19:46] – [Renovacion automatica] jose | informatica:letsencrypt [2022/05/06 08:40] – jose | ||
---|---|---|---|
Line 49: | Line 49: | ||
https:// | https:// | ||
+ | |||
+ | ===== Instalación en Docker ===== | ||
+ | Entramos en el docker con nginx: | ||
+ | docker exec -ti nginx bash | ||
+ | Instalamos bot lets encrypt: | ||
+ | apt-get install certbot python-certbot-nginx | ||
+ | Configuramos lets encrypt: | ||
+ | certbot --nginx | ||
+ | | ||
+ | Nos saldrá una lista con todos los dominios, seleccionamos el nuestro. Nos dirá si lo queremos redirigir a https, mejor que si (opción 2) | ||
+ | 1: No redirect - Make no further changes to the webserver configuration. | ||
+ | | ||
+ | 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for | ||
+ | new sites, or if you're confident your site works on HTTPS. You can undo this | ||
+ | change by editing your web server' | ||
+ | |
informatica/letsencrypt.txt · Last modified: 2022/05/06 08:41 by jose