Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content-encoding question #677

Open
pasztorl opened this issue Sep 15, 2024 · 0 comments
Open

content-encoding question #677

pasztorl opened this issue Sep 15, 2024 · 0 comments

Comments

@pasztorl
Copy link

Hi,

I have a backend application which have terrible performance if it got the accept-encoding header and compresses the response.
I hope kubernetes-ingress can help to offload the compression from the application.
On first try I used backend-config-snippet on the ingress object and added "http-request del-header Accept-Encoding".
With this configuration the application not compresses the response and works great but now I have large http responses to the clients.
How can I configure haproxy-ingress to do the compression between the client and haproxy and deny between haproxy and the application?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant