Re: server template feature

2018-02-23 Thread Aleksandar Lazic
Am 23.02.2018 um 10:10 schrieb Philipp Buehler: > Am 23.02.2018 09:57 schrieb Aleksandar Lazic: >> Can I run something like this? >> ``` >>     server-template units 1-40 "10.0.8.${num}":"1000${num}" maxconn 2  >> check >> ``` >> >> Because I haven't seen that the iterator is exported maybe it's no

Re: server template feature

2018-02-23 Thread Philipp Buehler
Am 23.02.2018 09:57 schrieb Aleksandar Lazic: Can I run something like this? ``` server-template units 1-40 "10.0.8.${num}":"1000${num}" maxconn 2 check ``` Because I haven't seen that the iterator is exported maybe it's not possible. As I see it from docs and the haproxy-blog*, there'

server template feature

2018-02-23 Thread Aleksandar Lazic
Hi all. Due to the fact that the server template is new please can anyone help me to understand how to use it. I have the following setup. ``` listen unit0005 bind *:10005 ssl crt /etc/haproxy/certs/my-domain.com.pem acl allow_access src IP1 acl allow_access src IP2 tcp-request