all-in-one/Containers/apache/Caddyfile

35 lines
486 B
Text
Raw Normal View History

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