You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caddy’s exec module lets you run
shell scripts or commands as simple HTTP endpoints, with Caddy handling the
response formatting. It’s ideal for lightweight tasks like triggering
background jobs or returning basic JSON or text output.
If you want full control over the HTTP response — including status codes,
headers, and body content, use CGI instead. It’s better suited for
complex or dynamic responses.