feat: Formatted Caddy logs globally

This commit is contained in:
syrell 2024-06-01 22:41:31 +02:00
parent 694c5e8be9
commit 8b22d5496d
Signed by: syrell
GPG Key ID: BC9570E849334AF9

View File

@ -1,3 +1,11 @@
{
log {
format json {
time_format rfc3339
}
}
}
:80 { :80 {
root * /srv root * /srv
file_server { file_server {
@ -12,7 +20,7 @@
rewrite @404 /404.html rewrite @404 /404.html
file_server file_server
} }
log log
metrics /metrics metrics /metrics
} }