allow to add imports to the caddy file

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-05-01 19:18:31 +02:00
parent 4adb748970
commit 48e70e2b00
8 changed files with 49 additions and 51 deletions

View file

@ -45,6 +45,9 @@ else
fi
echo "$CADDYFILE" > /Caddyfile
# Overwrite nextcloud conf
cat /nextcloud > /mnt/data/nextcloud
# Fix the Caddyfile format
caddy fmt --overwrite /Caddyfile