~james-page/charms/precise/nova-cloud-controller/pre-check

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/templates/haproxy.cfg

  • Committer: James Page
  • Date: 2014-02-19 11:02:03 UTC
  • mfrom: (62.1.6 tls-ha)
  • Revision ID: james.page@canonical.com-20140219110203-5z78s29rp3cl55vq
[ivoks] Re-order port-pipeline to ensure end-to-end SSL

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
defaults
10
10
    log global
11
 
    mode http
12
 
    option httplog
 
11
    mode tcp
 
12
    option tcplog
13
13
    option dontlognull
14
14
    retries 3
15
15
    timeout queue 1000
29
29
{% for service, ports in service_ports.iteritems() -%}
30
30
listen {{ service }} 0.0.0.0:{{ ports[0] }}
31
31
    balance roundrobin
32
 
    option tcplog
33
32
    {% for unit, address in units.iteritems() -%}
34
33
    server {{ unit }} {{ address }}:{{ ports[1] }} check
35
34
    {% endfor %}