Open git001 opened 4 years ago
In the Configuring haproxy load balancer in front of ha artifactory cluster question was requested how to migrate to a newer HAProxy version.
The original answer from JFrog Support is from 2018-02-05 How to configure HAProxy with Artifactory? which looks wrong because there are some missing characters.
# wrong reqirep ^([^ :]*) /v2(.*$) 1 /artifactory/api/docker/docker/v22 # right reqirep ^([^ :]*) /v2(.*$) \1 /artifactory/api/docker/docker/v22\1
I assume that the HAProxy config for the knowledge-base article is this file https://github.com/jfrog/artifactory-scripts/blob/master/proxyexamples/haproxy/haproxy-ports.cfg
In general should the config be adopted to the new HAProxy versions. This means.
reqadd
http-request set-header
reqirep
http-request replace*
In the Configuring haproxy load balancer in front of ha artifactory cluster question was requested how to migrate to a newer HAProxy version.
The original answer from JFrog Support is from 2018-02-05 How to configure HAProxy with Artifactory? which looks wrong because there are some missing characters.
I assume that the HAProxy config for the knowledge-base article is this file https://github.com/jfrog/artifactory-scripts/blob/master/proxyexamples/haproxy/haproxy-ports.cfg
In general should the config be adopted to the new HAProxy versions. This means.
reqadd
withhttp-request set-header
reqirep
withhttp-request replace*