diff --git a/roles/haproxy/templates/precise/haproxy.cfg b/roles/haproxy/templates/precise/haproxy.cfg index b737ddfcf..9df4fc9e0 100644 --- a/roles/haproxy/templates/precise/haproxy.cfg +++ b/roles/haproxy/templates/precise/haproxy.cfg @@ -31,7 +31,7 @@ frontend http_frontend mode http option httpclose option forwardfor - default_backend web_server + default_backend rgw frontend https_frontend bind *:443 ssl crt /etc/ceph/radosgw-key-cert.pem @@ -39,9 +39,9 @@ frontend https_frontend option httpclose option forwardfor reqadd X-Forwarded-Proto:\ https - default_backend web_server + default_backend rgw -backend web_server +backend rgw mode http balance roundrobin cookie RADOSGWLB insert indirect nocache