diff --git a/Containers/apache/Caddyfile b/Containers/apache/Caddyfile index cbe309b2a4b..ed15101cb30 100644 --- a/Containers/apache/Caddyfile +++ b/Containers/apache/Caddyfile @@ -51,9 +51,6 @@ https://{$ADDITIONAL_TRUSTED_DOMAIN}:443, reverse_proxy {$TALK_HOST}:8081 } - # Others - import /mnt/data/caddy-imports/* - # Nextcloud route { rewrite /.well-known/carddav /remote.php/dav/ diff --git a/Containers/apache/start.sh b/Containers/apache/start.sh index 9b89c2b59d5..49270210c82 100644 --- a/Containers/apache/start.sh +++ b/Containers/apache/start.sh @@ -63,15 +63,6 @@ caddy fmt --overwrite /tmp/Caddyfile # Add caddy path mkdir -p /mnt/data/caddy/ -# Add caddy import path -mkdir -p /mnt/data/caddy-imports - -# Remove falsely added Nextcloud conf -rm -f /mnt/data/caddy-imports/nextcloud - -# Make sure that the caddy-imports dir is not empty -echo "# empty file so that caddy does not print a warning" > /mnt/data/caddy-imports/empty - # Fix apache startup rm -f /usr/local/apache2/logs/httpd.pid