Inspecting Caddy with the Inspect plugin

Ever being in a situation where you have a relatively complex Caddyfile and wished for an easy way to validate the behaviour?

With caddy-inspect, you get just that by putting the inspect keyword anywhere in the Caddyfile.

:8080

route {
    inspect
    respond "you got here after clicking the play button on the console"
}

Screenshot

Details

The project is available at GitHub - abiosoft/caddy-inspect: HTTP Request Inspector for Caddy web server.

Feedbacks would be appreciated.

4 Likes

Really nice.

Maybe add an example folder to demo its features.

I stumbled with this out of pure luck. I will be definitely testing it because Iā€™m always fighting with Caddy configs