aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddy.go
diff options
context:
space:
mode:
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/caddy.go b/caddy.go
index 127484d4f..364392401 100644
--- a/caddy.go
+++ b/caddy.go
@@ -427,6 +427,13 @@ func run(newCfg *Config, start bool) error {
return nil
}
+ // Provision any admin routers which may need to access
+ // some of the other apps at runtime
+ err = newCfg.Admin.provisionAdminRouters(ctx)
+ if err != nil {
+ return err
+ }
+
// Start
err = func() error {
var started []string