diff options
author | Francis Lavoie <lavofr@gmail.com> | 2022-05-06 10:50:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 10:50:26 -0400 |
commit | f6900fcf530e80c921dac8e4f09996cffce7f436 (patch) | |
tree | 6914d9a1038ff230f9047cae8d219838b6636d81 /caddyconfig/httpcaddyfile/httptype.go | |
parent | ec86a2f7a3905c888b8c953255a98a50be70d5db (diff) |
reverseproxy: Support performing pre-check requests (#4739)
Diffstat (limited to 'caddyconfig/httpcaddyfile/httptype.go')
-rw-r--r-- | caddyconfig/httpcaddyfile/httptype.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index 242f0b8..9c723db 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -130,6 +130,7 @@ func (st ServerType) Setup(inputServerBlocks []caddyfile.ServerBlock, {regexp.MustCompile(`{path\.([\w-]*)}`), "{http.request.uri.path.$1}"}, {regexp.MustCompile(`{re\.([\w-]*)\.([\w-]*)}`), "{http.regexp.$1.$2}"}, {regexp.MustCompile(`{vars\.([\w-]*)}`), "{http.vars.$1}"}, + {regexp.MustCompile(`{rp\.([\w-\.]*)}`), "{http.reverse_proxy.$1}"}, } for _, sb := range originalServerBlocks { |