global
    log stdout format raw daemon debug

defaults
    timeout connect 5s
    timeout client 1m
    timeout server 1m

frontend http
    bind :443 ssl crt /usr/local/etc/haproxy/httpbin.local.pem
    default_backend httpbin
    log global
    log-format "${HAPROXY_HTTP_LOG_FMT} hdrs:%{+Q}[var(txn.req_hdrs)]"
    mode http

backend httpbin
    mode http
    log global
    server s1 httpbin:8080
