I have built a online Caddy playground that runs the given Caddy configuration in an isolated environment and allows you to run arbitrary commands, think curl or something like that, against it.
I just had a quick test and unfortunately no, or better not yet
To be honest I have so far not really worked with anything besides the Caddyfile for my own use of Caddy, but I do like the idea of the playground letting you specify which config adapter should be used (only file based ones for now though).
I will have a look at adding that as an option soon, thanks for the idea @makinghappen
Thanks to the suggestion from @makinghappen the Caddy playground now supports it’s first “advanced option”, letting you specify the Caddy configuration format.
once again thanks for all the awesome feedback from everyone!
To make tech-playground even more useful I’ve now create a JavaScript widget that allows anyone to embed interactive playgrounds into blog posts, docs and more.
Just load a bit of JS, wrap your existing code blocks into [1] a custom HTML element and you’re off to the races!
On top there is a bunch of customizations for the controls and output, to make things work just like you want.