Update 'README.md'
This commit is contained in:
parent
68e65467d4
commit
f1abdad407
|
@ -1,3 +1,10 @@
|
||||||
# automatic-certbot-renewal
|
# automatic-certbot-renewal
|
||||||
|
|
||||||
Simple setup for automatic renewal of certificates with Certbot
|
Simple setup for automatic renewal of certificates with Certbot. (Because I always have to search for it...)
|
||||||
|
|
||||||
|
## setup
|
||||||
|
|
||||||
|
- First of all Certbot has to be installed.
|
||||||
|
- Put the configured sites in `/etc/nginx/conf.d/`
|
||||||
|
- first of all generate the config: `sudo certbot --nginx -d example.site -d www.example.site` (⚠️ This will change your config)
|
||||||
|
- Put `/usr/bin/certbot renew --quiet` wherever it is needed (eg. Systemd timer/service, cron job)
|
Reference in a new issue