diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-10-09 19:10:00 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-10-09 19:10:00 -0600 |
commit | 03306e646e3ee421f582ef69a2158724bcf2614b (patch) | |
tree | d955df462138e538916474754dbbed979b855b10 /modules/caddyhttp/reverseproxy | |
parent | 53dd600b4de0c2b169f1eb4450a0f02950912524 (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/reverseproxy')
0 files changed, 0 insertions, 0 deletions