Add mirrorBody option to HTTP mirroring
This commit is contained in:
parent
51f7f610c9
commit
eb99c8c785
19 changed files with 165 additions and 22 deletions
|
@ -53,6 +53,9 @@ type TraefikServiceSpec struct {
|
|||
type Mirroring struct {
|
||||
LoadBalancerSpec `json:",inline"`
|
||||
|
||||
// MirrorBody defines whether the body of the request should be mirrored.
|
||||
// Default value is true.
|
||||
MirrorBody *bool `json:"mirrorBody,omitempty"`
|
||||
// MaxBodySize defines the maximum size allowed for the body of the request.
|
||||
// If the body is larger, the request is not mirrored.
|
||||
// Default value is -1, which means unlimited size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue