2021-11-30 18:20:42 +08:00
|
|
|
{
|
|
|
|
auto_https disable_redirects
|
|
|
|
|
|
|
|
storage file_system {
|
|
|
|
root /mnt/data/caddy
|
|
|
|
}
|
2023-02-12 03:49:30 +08:00
|
|
|
|
2023-05-02 01:18:31 +08:00
|
|
|
servers {
|
|
|
|
# trusted_proxies placeholder
|
|
|
|
}
|
|
|
|
|
2023-02-12 03:49:30 +08:00
|
|
|
log {
|
|
|
|
level ERROR
|
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|
|
|
|
|
2021-12-09 01:12:56 +08:00
|
|
|
{$PROTOCOL}://{$NC_DOMAIN}:{$APACHE_PORT} {
|
2021-11-30 18:20:42 +08:00
|
|
|
|
2023-05-02 01:18:31 +08:00
|
|
|
# Bundled
|
|
|
|
import /caddy-imports/*
|
2021-11-30 18:20:42 +08:00
|
|
|
|
2023-05-02 01:18:31 +08:00
|
|
|
# Others
|
|
|
|
import /mnt/data/caddy-imports/*
|
2022-03-17 17:13:21 +08:00
|
|
|
|
2021-12-08 00:39:30 +08:00
|
|
|
# TLS options
|
|
|
|
tls {
|
|
|
|
issuer acme {
|
|
|
|
disable_http_challenge
|
|
|
|
}
|
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|