certbot renew and https redirect

Ok you have a site and you’d like to redirect http to https, but you’d also like to use certbot renew to update certificates.

/etc/nginx/acme.conf

/etc/nginx/vhosts/example.com

and for completeness sake

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.