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:
Updated by Evgeni Golov about 6 years ago
- Pull request https://github.com/theforeman/puppet-pulp/pull/343 added
Updated by John Mitsch about 6 years ago
- Target version set to Katello 3.10.0
- Triaged changed from No to Yes
Updated by Evgeni Golov about 6 years ago
- Status changed from Assigned to Closed
Applied in changeset puppet-pulp|31932471ef4a9fe1cdc53fdd57e6d1cbd011afc4.
Actions