{ # caddy-opnsense-blocker expects the default JSON access log format. # If Caddy is itself behind another proxy, make sure request.client_ip # contains the real client address before you feed logs to the blocker. } example.com { log { output file /var/log/caddy/public-web-access.json format json } reverse_proxy 127.0.0.1:8080 } git.example.com { log { output file /var/log/caddy/gitea-access.json format json } reverse_proxy 127.0.0.1:3000 }