ansible/roles/haproxy/templates/http.cfg.j2

7 lines
206 B
Django/Jinja

frontend http
log global
bind ${BIND_V4}:80
bind ${BIND_V6}:80
use_backend %[req.hdr(host),lower,map(/usr/local/etc/haproxy/http.map)]