← Back to directory

Lint a Caddyfile the way Caddy v2.11.4 parses it (syntax errors with line, unkno...

https://code.halowerk.com/v1/caddyfile-check

Overview

Lint a Caddyfile the way Caddy v2.11.4 parses it (syntax errors with line, unknown or deprecated directives, undefined/unused matchers, duplicate sites) and get it back formatted like `caddy fmt` and with snippets/imports expanded.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category crypto/defi
Provider code
Source bazaar
Indexed 2026-11-20 13:00:15

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "caddyfile": "(common) {\n\theader X-Frame-Options DENY\n}\nhalowerk.com {\n\timport common\n\treverse_proxy localhost:8080\n}\n" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Conversion to Caddy JSON is not offered: it requires the Caddyfile adapter of the caddy binary and its modules; only formatting and snippet/import expansion are returned.", "Directive arguments and subdirectives are not validated module by module; plugins can add directives and global options.", "Environment placeholders {$VAR} are listed but not substituted." ], "result": { "caddy_reference": "v2.11.4", "expanded": "halowerk.com {\n\theader X-Frame-Options DENY\n\treverse_proxy localhost:8080\n}\n", "findings": [], "formatted": "(common) {\n\theader X-Frame-Options DENY\n}\nhalowerk.com {\n\timport common\n\treverse_proxy localhost:8080\n}\n", "global_options": null, "named_routes": [], "sites": [ { "addresses": [ "halowerk.com" ], "directives": [ "header", "reverse_proxy" ], "line": 4 } ], "snippets": [ "common" ], "summary": { "critical": 0, "high": 0, "info": 0, "low": 0, "medium": 0 }, "valid": true }, "service": "caddyfile-check", "status": "success" }, "type": "json" }