From 064fe672c8ac01aa95a1dd7f41511a774c6130c3 Mon Sep 17 00:00:00 2001 From: Suyono Date: Tue, 23 Dec 2025 12:26:25 +1100 Subject: [PATCH] added README.md --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..702053a --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Caddy Autoreload + +Auto reload extension, it watches externally generated certificates (like certbot) and reloads the Caddy when they change + +## How to use it + +There are two configuration you need to add into your Caddyfile: a global and per-site + +### global +``` +{ + auto_reload { + caddyfile /etc/caddy/Caddyfile + interval 8h + } + + order auto_reload first +} +``` + +### Per-Site +``` + auto_reload { + cert /etc/path/to/your/cert.pem + } +```