Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion manifests/plugin/container.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
'path' => $location_prefix,
'proxy_pass' => [
{
'url' => $pulpcore::apache::api_base_url,
'url' => $pulpcore::apache::api_base_url,
'params' => $pulpcore::apache::content_proxy_params,
},
],
'request_headers' => $pulpcore::apache::api_default_request_headers + $pulpcore::apache::api_additional_request_headers,
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/plugin_container_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<Location "/pulpcore_registry">
RequestHeader unset REMOTE-USER
RequestHeader unset REMOTE_USER
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-api.sock|http://pulpcore-api
</Location>

Expand Down Expand Up @@ -54,7 +54,7 @@ class {'pulpcore':
RequestHeader unset REMOTE-USER
RequestHeader unset REMOTE_USER
RequestHeader set REMOTE-USER "admin" "expr=%{tolower:%{SSL_CLIENT_S_DN_CN}} == 'foreman.example.com'"
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api disablereuse=on timeout=600
ProxyPassReverse unix:///run/pulpcore-api.sock|http://pulpcore-api
</Location>

Expand Down