code: func setup(c *caddy.Controller) error {
  	ctx := log.LoggerNewContext(context.Background())
  
  	apiAAA, err := buildApiAAAHandler(ctx)
  
  	if err != nil {
  		return err
  	}
  
  	httpserver.GetConfig(c).AddMiddleware(func(next httpserver.Handler) httpserver.Handler {
  		apiAAA.Next = next
  		return apiAAA
  	})
  
  	return nil
  }
docs: // Setup the api-aaa middleware
  // Also loads the pfconfig resources and registers them in the pool