all-in-one/Containers/apache/Caddyfile

32 lines
438 B
Text
Raw Normal View History

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