diff --git a/manifests/haproxy.pp b/manifests/haproxy.pp index 9a195e846..397629c49 100644 --- a/manifests/haproxy.pp +++ b/manifests/haproxy.pp @@ -862,7 +862,8 @@ class tripleo::haproxy ( 'option' => [ 'httpchk', 'httplog', ], 'http-request' => [ 'set-header X-Forwarded-Proto https if { ssl_fc }', - 'set-header X-Forwarded-Proto http if !{ ssl_fc }'], + 'set-header X-Forwarded-Proto http if !{ ssl_fc }', + 'set-header X-Forwarded-Port %[dst_port]'], } Tripleo::Haproxy::Endpoint { haproxy_listen_bind_param => $haproxy_listen_bind_param,