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
When I access example.com/stats the command is executed but caddy responds with {"status":"success"}. Only accessing example.com/stats/index.html directly shows the generated html.
Is there (or can you add) an option to not respond directly but continue to the file_server directive?
The text was updated successfully, but these errors were encountered:
I want caddy to run a command for updating an html file every time I access that page. My current
Caddyfile
looks like this::When I access
example.com/stats
the command is executed but caddy responds with{"status":"success"}
. Only accessingexample.com/stats/index.html
directly shows the generated html.Is there (or can you add) an option to not respond directly but continue to the
file_server
directive?The text was updated successfully, but these errors were encountered: