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

Enable GZIP compression #232

Closed
jleuleu opened this issue May 5, 2017 · 3 comments
Closed

Enable GZIP compression #232

jleuleu opened this issue May 5, 2017 · 3 comments

Comments

@jleuleu
Copy link

jleuleu commented May 5, 2017

Is it possible to enable HTTP compression (similarly to GZIP_COMPRESSION_TYPE of dockercloud-haproxy)?
The idea would be to add something like the following in the HAproxy configuration:

 compression algo gzip
 compression type text/css text/html text/javascript application/javascript text/plain text/xml application/json
@vfarcic vfarcic closed this as completed in e74f646 May 5, 2017
@vfarcic
Copy link
Owner

vfarcic commented May 5, 2017

Available in the release 1.368.

@vfarcic
Copy link
Owner

vfarcic commented May 5, 2017

Can you please try it out and let me know if everything works as expected?

@jleuleu
Copy link
Author

jleuleu commented May 8, 2017

Thank you. It works as expected with env variables COMPRESSION_ALGO and COMPRESSION_TYPE.

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

2 participants