# this config needs haproxy-1.1.28 or haproxy-1.2.1

global
        log 127.0.0.1   local0
        log 127.0.0.1   local1 notice
        #log loghost    local0 info
        maxconn 4096
        #chroot /usr/share/haproxy
        user haproxy
        group haproxy
        daemon
        #debug
        #quiet
        stats socket /etc/haproxy/haproxysock level admin


defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        retries 3
        option redispatch
        maxconn 2000
        contimeout      5000
        clitimeout      50000
        srvtimeout      50000

listen stats :1936
    mode http
    stats enable
    stats hide-version
    stats realm Haproxy\ Statistics
    stats uri /
    stats auth redacted:redacted

frontend myFlo-HTTP
        bind 192.0.2.55:80
        default_backend myFlo-Servers-RR
        acl scheduler   url_sub -i schedule     #ACL for scheduler requests

use_backend myFlo-Servers-SRC if scheduler

frontend myFloLite-HTTP
        bind 192.168.100.8:80
        default_backend myFloLite-Servers

backend myFloLite-Servers
        mode http
        balance roundrobin
        option httpchk HEAD /
        server liteweb1:80 192.168.100.9 check port 80 inter 2000
        server liteweb2:80 192.168.100.10 check port 80 inter 2000

backend myFlo-Servers-RR
        mode http
        balance roundrobin
        option httpchk HEAD /health_check.html HTTP/1.1\r\nHost:\ haproxy.test
        server myfloweb1:80 192.168.100.5 check port 80 inter 2000
        server myfloweb2:80 192.168.100.14 check port 80 inter 2000

backend myFlo-Servers-SRC
        mode http
        balance source
        option httpchk HEAD /health_check.html HTTP/1.1\r\nHost:\ haproxy.test
        server myfloweb1:80 192.168.100.5 check port 80 inter 2000
        server myfloweb2:80 192.168.100.14 check port 80 inter 2000

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to haproxy in Ubuntu.
https://bugs.launchpad.net/bugs/1334958

Title:
  package haproxy 1.4.24-2 failed to install/upgrade: ErrorMessage:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1334958/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to