From ed061e6cfbbb1599a10dc0955cdc1b0b5ffb79b9 Mon Sep 17 00:00:00 2001 From: Fl1tzi Date: Fri, 28 Apr 2023 05:54:41 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0a080ee..9a5b694 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,16 @@ # automatic-certbot-renewal -Simple setup for automatic renewal of certificates with Certbot. (Because I always have to search for it...) +Simple setup for automatic renewal of certificates with Certbot and Nginx. (Because I always have to search for it...) -## setup +1. First of all `certbot` and `python3-certbot-nginx` have to be installed. +2. Put the configured sites in `/etc/nginx/conf.d/` +3. first of all generate the config: `sudo certbot --nginx -d example.site -d www.example.site` (⚠️ This will change your config) -- First of all `certbot` and `python3-certbot-nginx` have 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) \ No newline at end of file +## setup (standalone) + +4. Put `/usr/bin/certbot renew --quiet` wherever it is needed (eg. Systemd timer/service, cron job) + +## Setup (packaged) + +4. Look if you have a service called `certbot-renew.service` and a timer called `certbot-renew.timer` +5. If both are present enable **only certbot-renew.timer** \ No newline at end of file