func (m *MatchFile) Provision(_ caddy.Context) error {
	if m.Root == "" {
		m.Root = "{http.vars.root}"
	}
	// if list of files to try was omitted entirely, assume URL path
	// (use placeholder instead of r.URL.Path; see issue #4146)
	if m.TryFiles == nil {
		m.TryFiles = []string{"{http.request.uri.path}"}
	}
	return nil
}
// Provision sets up m's defaults.
Provision sets up m's defaults.
// Provision sets up m ' s defaults .
func (m *MatchFile) Provision(_ caddy.Context) error {
	if m.Root == "" {
		m.Root = "{http.vars.root}"
	}
	if m.TryFiles == nil {
		m.TryFiles = []string{"{http.request.uri.path}"}
	}
	return nil
}
func ( m * MatchFile ) Provision ( _ caddy . Context ) error { if m . Root == " " { m . Root = " " } if m . TryFiles == nil { m . TryFiles = [ ] string { " " } } return nil }
Provision sets up m's defaults.
Provision sets up m ' s defaults .
// if list of files to try was omitted entirely, assume URL path // (use placeholder instead of r.URL.Path; see issue #4146)