diff --git a/caddy/Caddyfile b/caddy/Caddyfile index f7b857d..e0d861b 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -3,6 +3,11 @@ metrics { per_host } + log { + output file /var/log/caddy/access.log + format json + level DEBUG + } } :2019 { diff --git a/caddy/docker-compose.yml b/caddy/docker-compose.yml index ebff234..acf25ae 100644 --- a/caddy/docker-compose.yml +++ b/caddy/docker-compose.yml @@ -23,6 +23,7 @@ services: - ./ssl:/etc/ssl/custom/ - ./data/data:/data - ./data/config:/config + - ./data/log:/var/log/caddy - ../private_volume:/private_volume env_file: - ./.env