Skip to content

Commit

Permalink
allow to add imports to the caddy file
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed May 1, 2023
1 parent 1304734 commit 4622f6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containers/apache/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
}
}

# Others
import /mnt/data/caddy-imports/*

# Nextcloud
route {
rewrite /.well-known/carddav /remote.php/dav
Expand Down
1 change: 1 addition & 0 deletions Containers/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN set -ex; \
apk del --no-cache shadow

RUN mkdir -p /mnt/data; \
mkdir /mnt/data/caddy-imports; \
chown www-data:www-data /mnt/data;

VOLUME /mnt/data
Expand Down

0 comments on commit 4622f6b

Please sign in to comment.