From 781a993cdc4b5cfc05d082703cec91d5c5e93473 Mon Sep 17 00:00:00 2001
From: pierreozoux <pierre@ozoux.net>
Date: Sat, 9 Jan 2016 12:03:10 +0000
Subject: [PATCH] Adds compression

---
 templates/haproxy.cfg.tmpl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/haproxy.cfg.tmpl b/templates/haproxy.cfg.tmpl
index 7165288..95762da 100644
--- a/templates/haproxy.cfg.tmpl
+++ b/templates/haproxy.cfg.tmpl
@@ -13,6 +13,8 @@ defaults
   option httplog
   option dontlognull
   retries 3
+  compression algo gzip
+  compression type text/html text/plain text/css application/javascript
   timeout connect 5000
   timeout client 50000
   timeout server 50000
-- 
GitLab