diff --git a/manifests/plugin/container.pp b/manifests/plugin/container.pp index c1587ae..07b8ed8 100644 --- a/manifests/plugin/container.pp +++ b/manifests/plugin/container.pp @@ -21,6 +21,16 @@ ], 'request_headers' => $pulpcore::apache::api_default_request_headers + $pulpcore::apache::api_additional_request_headers, }, + { + 'provider' => 'location', + 'path' => "${location_prefix}", + 'proxy_pass' => [ + { + 'url' => "${pulpcore::apache::api_base_url}", + }, + ], + 'request_headers' => $pulpcore::apache::api_default_request_headers + $pulpcore::apache::api_additional_request_headers, + }, ], 'proxy_pass' => [ { @@ -31,7 +41,7 @@ } pulpcore::plugin { 'container': - config => 'TOKEN_AUTH_DISABLED=True', + config => "TOKEN_AUTH_DISABLED=True\nFLATPAK_INDEX=True", https_content => epp('pulpcore/apache-fragment.epp', $context), } }