summaryrefslogtreecommitdiff
path: root/modules/caddyhttp
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-10-09 19:10:00 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-10-09 19:10:00 -0600
commit03306e646e3ee421f582ef69a2158724bcf2614b (patch)
treed955df462138e538916474754dbbed979b855b10 /modules/caddyhttp
parent53dd600b4de0c2b169f1eb4450a0f02950912524 (diff)
admin: /config and /id endpoints
This integrates a feature that was previously reserved for enterprise users, according to https://github.com/caddyserver/caddy/issues/2786. The /config and /id endpoints make granular config changes possible as well as the exporting of the current configuration. The /load endpoint has been modified to wrap the /config handler so that the currently-running config can always be available for export. The difference is that /load allows configs of varying formats and converts them using config adapters. The adapted config is then processed with /config as JSON. The /config and /id endpoints accept only JSON.
Diffstat (limited to 'modules/caddyhttp')
0 files changed, 0 insertions, 0 deletions