Skip to content

Commit

Permalink
Caddyfile: Use json formatted log
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Oct 13, 2024
1 parent b6a77b8 commit acce192
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit acce192

Please sign in to comment.