From acce1926264afef52d148c95f28e3dc1dc3acf01 Mon Sep 17 00:00:00 2001 From: lens0021 Date: Sun, 13 Oct 2024 14:17:21 +0900 Subject: [PATCH] Caddyfile: Use json formatted log --- caddy/Caddyfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 8485c2c..f0253f2 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -37,6 +37,9 @@ femiwiki.com *.femiwiki.com 127.0.0.1:80 localhost:80 { # Avoid clickjacking X-Frame-Options "DENY" } + log { + format json + } rewrite /w/api.php /api.php rewrite /w/* /index.php