From 90e74707fe96bf3e4a1c2b2e307c85b3ea6476be Mon Sep 17 00:00:00 2001 From: Lens0021 / Leslie Date: Sun, 13 Oct 2024 14:19:48 +0900 Subject: [PATCH] Caddyfile: Use json formatted log (#337) --- 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