on smartproxies, calls to api/v2/ are no passed to upstream foreman server
After having added custom content like CentOS mirrors with GPG keys in Katello, using this repositories by hosts behind smartproxies fail because GPG keys cannot be retrieved.
URLs like https://smartproxy.mydomain.com/katello/api/v2/repositories/15/gpg_key_content are failing because they are not configured in apache.
Files : 05-pulp-https.conf and pulp_ostree.conf have configuration for URLs which look like /katello/api/repositories, without the "v2" strings. I duplicated the configuration lines and added "v2" in URLs and package installation is working.