Reconfigure artifactory haproxy configuration
- use simple pattern matching instead of regexes to speedup matching
and reduce required computing resources
- always set header X-Artifactory-Override-Base-Url having HTTPS and
URL path `/artifactory`
- prepend non-docker pathes with `artifactory` if path does not have it
Last things require explanation...
Artifactory is not an self-sufficient application and is run inside Tomcat.
The single Tomcat instance can host several applications, and to distinguish
it uses path prefix. Thus to hit Artifactory running inside Tomcat you MUST
use path prefix `/artifactory`.
Change-Id: I156f0363f841f99e4b7b687f6730d3d980e59964
Closes-Bug: https://mirantis.jira.com/browse/PROD-15250
1 file changed