Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 518 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 518 Bytes

Next.js setup with Docker

SSL from Letsencrypt using Certbot and Nginx

To test if working (simulate):

docker-compose run --rm  certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d example.org

To update certificate for real:

docker-compose run --rm  certbot certonly --webroot --webroot-path /var/www/certbot/ -d example.org

Renew certificate

docker-compose run --rm certbot renew

Renew certificate (quiet)

docker-compose run --rm certbot renew --quiet