Skip to content

Commit 700a2fb

Browse files
committed
use the correct backend protocol when defining the gpg proxy
1 parent 6e2413b commit 700a2fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/classes/foreman_proxy_content_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
end
211211
it do
212212
is_expected.to contain_pulpcore__apache__fragment('gpg_key_proxy')
213-
.with_https_content(%r{ProxyPass /katello/api/v2/repositories/ https://foo\.example\.com/katello/api/v2/repositories/})
213+
.with_https_content(%r{ProxyPass /katello/api/v2/repositories/ h2://foo\.example\.com/katello/api/v2/repositories/})
214214
end
215215
end
216216

templates/_pulp_gpg_proxy.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ProxyPass /katello/api/v2/repositories/ <%= @foreman_url %>/katello/api/v2/repositories/
1+
ProxyPass /katello/api/v2/repositories/ <%= @proxy_foreman_url %>/katello/api/v2/repositories/
22
<Location /katello/api/v2/repositories/>
3-
ProxyPassReverse <%= @foreman_url %>/
3+
ProxyPassReverse <%= @proxy_foreman_url %>/
44
</Location>
55
SSLProxyEngine On

0 commit comments

Comments
 (0)