Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adding X-Forwarded-For header to reencrypt route
add X-Forwarded-For header for reencrypt routes, just as it is for edge routes

Bug 1449022
  • Loading branch information
JacobTanenbaum committed May 11, 2017
1 parent 2628c77 commit 5011cb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/router/haproxy/conf/haproxy-config.template
Expand Up @@ -417,6 +417,7 @@ backend be_tcp:{{$cfgIdx}}
backend be_secure:{{$cfgIdx}}
mode http
option redispatch
option forwardfor
{{- with $balanceAlgo := index $cfg.Annotations "haproxy.router.openshift.io/balance" }}
{{- with $matchValue := (matchValues $balanceAlgo "roundrobin" "leastconn" "source" ) }}
balance {{ $balanceAlgo }}
Expand Down

0 comments on commit 5011cb4

Please sign in to comment.