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

8 lines
247 B
Django/Jinja

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