diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-06-28 15:39:41 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-06-28 15:39:41 -0600 |
commit | a4bdf249dbfb0f35e0a35dad6a38db371b126800 (patch) | |
tree | 00242a860d45e741fe9543875a58a15c92e7102d /caddy.go | |
parent | 006dc1792f0118552f81e17cfbe2802a3180c352 (diff) |
Caddy 2 gets a CLI! And admin endpoint is now configurable via JSON
Diffstat (limited to 'caddy.go')
-rw-r--r-- | caddy.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -136,6 +136,8 @@ type App interface { // Config represents a Caddy configuration. type Config struct { + Admin *AdminConfig `json:"admin,omitempty"` + StorageRaw json.RawMessage `json:"storage,omitempty"` storage certmagic.Storage |