Actions
Bug #25266
closedinstaller should not set pulp's redirect_host to $::fqdn
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Description
If you deploy a Pulp server with "Lazy Sync" enabled, Pulp issues an HTTP redirect when you access a file that has not been downloaded yet to a "streamer". As every redirect, this needs a target host, which can be configured by the redirect_host config option, which is empty by default in Pulp, but our Puppet module sets it to $::fqdn. This means that all redirects will be to the FQDN of the host, and not the name the original HTTP request came in.
The redirection code looks for SERVER_NAME of the request, but uses it only if the redirect_host entry of the config is empty:
Actions