caddyhttp: Rename MatchNegate type to MatchNot type

This is more congruent with its module name. A change that affects only
code, not configurations.
This commit is contained in:
Matthew Holt
2020-03-30 11:53:19 -06:00
parent 37aa516a6e
commit ac65f690ae
2 changed files with 15 additions and 15 deletions

View File

@ -127,7 +127,7 @@ func parsePHPFastCGI(h httpcaddyfile.Helper) ([]httpcaddyfile.ConfigValue, error
"file": h.JSON(fileserver.MatchFile{
TryFiles: []string{"{http.request.uri.path}/index.php"},
}),
"not": h.JSON(caddyhttp.MatchNegate{
"not": h.JSON(caddyhttp.MatchNot{
MatchersRaw: caddy.ModuleMap{
"path": h.JSON(caddyhttp.MatchPath{"*/"}),
},