AddOutputFilterByType

It is possible to convert this line from Apache to HAproxy?
AddOutputFilterByType DEFLATE application/json application/json-rpc text/html text/plain text/xml text/css text/javascript application/javascript
I don’t really understand what this line actually does.

Thanks,

If you don’t what it means, why would you want to it in haproxy? Not understanding what your configuration does is pretty much a guarantee for disaster.

Check the Apache configuration for more:
https://httpd.apache.org/docs/2.4/mod/mod_filter.html#addoutputfilterbytype

Haproxy can do the same, see:
http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4.2-compression%20algo

Tks. I’m just testing/migrating something and i found this line in a apache config file.

Thanks again,