Re: How to remove accept-encoding header to backend while still keeping gzip?

2018-12-11 Thread flamesea12
Hi Thank you so much, exactly what I want:) - Original Message - From: Lukas Tribus To: flamese...@yahoo.co.jp Cc: haproxy Date: 2018/12/12, Wed 00:35 Subject: Re: How to remove accept-encoding header to backend while still keeping gzip? On Tue, 11 Dec 2018 at 15:13

Re: How to remove accept-encoding header to backend while still keeping gzip?

2018-12-11 Thread Lukas Tribus
On Tue, 11 Dec 2018 at 15:13, wrote: > > Hi, > > I have haproxy in front of my app servers, these app servers do not handle > accept-encoding properly. Don't do anything manually and use the "compression offload" feature, which has been introduced for this *exact* use case: https://cbonte.githu

How to remove accept-encoding header to backend while still keeping gzip?

2018-12-11 Thread flamesea12
Hi, I have haproxy in front of my app servers, these app servers do not handle  accept-encoding properly. So I need to remove accept-encoding header from the requests sent to backend while keep haproxy gzip the response. How can I do that? My config looks this: frontend web    compression algo gzi