|
|
|
|
|
by dewey
3408 days ago
|
|
I disagree, by just running https://caddyserver.com/ you would automatically have a https site up in seconds and it can be used as a reverse proxy too. With nginx: - `certbot certonly` - press `2` - type in your domain name - press return, done Add a few lines to your nginx config, done. ```
ssl_certificate /etc/letsencrypt/live/<yourdomain>/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/<yourdomain>/privkey.pem;
ssl on;
``` |
|
> `certbot certonly`
You make an assumption that this is going to work with no hiccups, across all environments. Spoiler: it doesn't. I specifically alluded to certbot and certbot-auto being (surprisingly) rough around the edges.