# generated from template; don't edit manually!

global
    log 127.0.0.1 daemon notice
    log 127.0.0.1 local2
    maxconn 4096
    chroot /tmp
    user haproxy
    group haproxy
    daemon

defaults
    balance leastconn
    log global
    mode http
    option abortonclose
    option dontlognull
    option httpchk /
    option http-server-close
    option httplog
    option redispatch
    retries 2
    timeout check 30s
    timeout connect 5s
    timeout client 300s
    timeout server 300s
    timeout queue 20s

backend stats
    stats uri /
    stats refresh 5s

frontend http
    bind localhost:8002,127.0.0.1:8002
    reqisetbe ^[^\ ]*\ /admin/stats   stats

    acl asyncurl  url_end reindex_object
    acl asyncurl  url_end generate-previews
    use_backend  async if asyncurl    
    
    default_backend zope

backend async
    
    server localhost 127.0.0.1:8080 weight 1 check inter 10s rise 2 fall 1 maxconn 1
    

backend zope
    
    server localhost 127.0.0.1:8080 weight 1 check inter 10s rise 2 fall 1 maxconn 1
