summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-03-30 11:53:19 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-03-30 11:53:19 -0600
commitac65f690ae9dee3ab6d3c634cffd0b41252cb343 (patch)
tree8eef9a87ad8829f0f6a3ad50e2628d2308a4da70 /modules/caddyhttp/reverseproxy
parent37aa516a6eb5346f5cdcd0ee6a4ec1784c073f54 (diff)
caddyhttp: Rename MatchNegate type to MatchNot type
This is more congruent with its module name. A change that affects only code, not configurations.
Diffstat (limited to 'modules/caddyhttp/reverseproxy')
-rw-r--r--modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go
index 5b378f8..2eb1f3d 100644
--- a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go
+++ b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go
@@ -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{"*/"}),
},