From f1abdad407ee317974718c61002718faa96b7091 Mon Sep 17 00:00:00 2001 From: Fl1tzi Date: Thu, 27 Apr 2023 22:12:26 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 647e7f2..8e4b59e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # automatic-certbot-renewal -Simple setup for automatic renewal of certificates with Certbot \ No newline at end of file +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) \ No newline at end of file