all-in-one/Containers/apache/Caddyfile
Simon L 48e70e2b00 allow to add imports to the caddy file
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 14:07:22 +02:00

34 lines
486 B
Caddyfile

{
auto_https disable_redirects
storage file_system {
root /mnt/data/caddy
}
servers {
# trusted_proxies placeholder
}
log {
level ERROR
}
}
{$PROTOCOL}://{$NC_DOMAIN}:{$APACHE_PORT} {
# Bundled
import /caddy-imports/*
# Others
import /mnt/data/caddy-imports/*
# Nextcloud
import /mnt/data/nextcloud
# TLS options
tls {
issuer acme {
disable_http_challenge
}
}
}