Merge pull request #44 from mnederlof/rate_limiting_size

Make stick-table size configurable for rate-limiting
diff --git a/haproxy/files/haproxy.cfg b/haproxy/files/haproxy.cfg
index 4f9bf0d..cfeb659 100644
--- a/haproxy/files/haproxy.cfg
+++ b/haproxy/files/haproxy.cfg
@@ -256,7 +256,7 @@
   tcp-request inspect-delay 5s
   acl too_many_requests sc0_gpc0_rate() gt {{ listen.rate_limit.get('requests', 100) }}
   acl mark_seen sc0_inc_gpc0 gt 0
-  stick-table type string size 100k store gpc0_rate({{ listen.rate_limit.get('duration', '60s') }})
+  stick-table type string size {{ listen.rate_limit.get('size', '100k') }} store gpc0_rate({{ listen.rate_limit.get('duration', '60s') }})
   {%- if listen.rate_limit.get('track', 'content') == 'content' %}
   tcp-request content track-sc0 {{ listen.rate_limit.get('header', 'hdr(X-Forwarded-For)') }} if ! too_many_requests
   {%- else %}