2024-02-17 11:00:06 +02:00
|
|
|
(vhost-access-log) {
|
|
|
|
log {
|
2024-02-18 09:52:10 +02:00
|
|
|
output file /var/log/caddy/{args.0}-access.log
|
2024-02-17 11:00:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Note: Requires a new caddy version
|
|
|
|
#{
|
|
|
|
# persist_config off
|
|
|
|
#}
|
|
|
|
|
|
|
|
import /etc/caddy/sites-enabled/*.caddy
|