Mine is this with Freddy's option added.
frontend radosgw
mode http
bind abns@radosgw accept-proxy ssl crt xxx.xxxxxxxx.xxx.pem
http-request track-sc0 src table per_ip_rates
http-request deny deny_status 429 if { sc_http_req_rate(0) gt 100 }
option forwardfor
default_backend radosgw
backend radosgw
mode http
balance roundrobin
option http-server-close
http-request set-header X-Forwarded-Port %[dst_port]
http-request add-header X-Forwarded-Proto https if { ssl_fc }
#option log-health-checks
option httpchk GET /swift/healthcheck
default-server check resolvers dnssvrs1
server-template radosgw1 1 _https._rgw1.prod._tcp.marathon.mesos ssl weight 100
resolve-opts
server-template radosgw2 1 _https._rgw2.prod._tcp.marathon.mesos ssl weight 100
resolve-opts
-----Original Message-----
From: Szabo, Istvan (Agoda) <Istvan.Szabo(a)agoda.com>
Sent: 08 February 2021 04:25
To: Marc <Marc(a)f1-outsourcing.eu>eu>; ceph-users(a)ceph.io
Subject: RE: share haproxy config for radosgw
Let me join to this thread, I'd be interested also with HTTPS and beast
configuration on HA+Proxy level. Haven't managed to make it ever work.