add rewrite body http node setting
This commit is contained in:
parent
48d070d345
commit
2697697552
@ -22,11 +22,18 @@ type HTTPURLRewriteSetting struct {
|
|||||||
Replacement string
|
Replacement string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type HTTPBodyRewriteSettings struct {
|
||||||
|
Type string
|
||||||
|
Pattern *regexp.Regexp
|
||||||
|
Replacement []byte
|
||||||
|
}
|
||||||
|
|
||||||
type HTTPNodeSettings struct {
|
type HTTPNodeSettings struct {
|
||||||
Host string
|
Host string
|
||||||
Header map[string]string
|
Header map[string]string
|
||||||
Auther auth.Authenticator
|
Auther auth.Authenticator
|
||||||
Rewrite []HTTPURLRewriteSetting
|
RewriteURL []HTTPURLRewriteSetting
|
||||||
|
RewriteBody []HTTPBodyRewriteSettings
|
||||||
}
|
}
|
||||||
|
|
||||||
type TLSNodeSettings struct {
|
type TLSNodeSettings struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user