Infrastructure/ansible/roles/reverse-proxy/files/Caddyfile

13 lines
224 B
Caddyfile

(vhost-access-log) {
log {
output file /var/log/caddy/{args[0]}-access.log
}
}
# Note: Requires a new caddy version
#{
# persist_config off
#}
import /etc/caddy/sites-enabled/*.caddy