1
0
Fork 0

Conditionnal compression based on Content-Type

This commit is contained in:
Ludovic Fernandez 2019-10-31 11:36:05 +01:00 committed by Traefiker Bot
parent 1f39083555
commit 3410541a2f
7 changed files with 143 additions and 25 deletions

View file

@ -553,7 +553,7 @@ func (in *MiddlewareSpec) DeepCopyInto(out *MiddlewareSpec) {
if in.Compress != nil {
in, out := &in.Compress, &out.Compress
*out = new(dynamic.Compress)
**out = **in
(*in).DeepCopyInto(*out)
}
if in.PassTLSClientCert != nil {
in, out := &in.PassTLSClientCert, &out.PassTLSClientCert