Caddy 2 gets a CLI! And admin endpoint is now configurable via JSON

This commit is contained in:
Matthew Holt
2019-06-28 15:39:41 -06:00
parent 006dc1792f
commit a4bdf249db
8 changed files with 374 additions and 30 deletions

View File

@ -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