Caddy access logs

This commit is contained in:
nora 2024-08-07 22:31:55 +02:00
parent 2dc5751f11
commit bd33b898fe
4 changed files with 24 additions and 0 deletions

View file

@ -14,13 +14,20 @@
servers {
metrics
}
log default {
output stdout
format json
}
}
http:// {
log
respond "This is an HTTPS-only server, silly you. Go to https:// instead." 418
}
# HTTP
:9010 {
log
metrics /metrics
}