From ee2abbe7a3694a376954f580de365098c5783a14 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 28 Apr 2024 14:09:20 +0000 Subject: [PATCH] Now you can add a templates/Caddyfile.local to append custom part to the Caddyfile --- .gitignore | 1 + install.sh | 3 +++ templates/Caddyfile | 1 + 3 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 322f159..233493b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /disk-* /.env +/templates/Caddyfile.local diff --git a/install.sh b/install.sh index 1fa71b6..1039199 100755 --- a/install.sh +++ b/install.sh @@ -171,6 +171,9 @@ if [[ "$ACME_DNS" != "selfsigned" ]]; then fi # Configure Caddy +if [[ -f templates/Caddyfile.local ]]; then + caddyfile_local=$(