Add posibility to add extra proxy config in config file.

This commit is contained in:
Johan Björklund 2024-12-11 15:18:32 +01:00
parent 674b38ea2d
commit 1e101d300f
Signed by untrusted user: bjorklund
GPG key ID: 5E8401339C7F5037
2 changed files with 5 additions and 0 deletions

View file

@ -44,6 +44,7 @@ class soc::sso(
String $translog = 'INFO',
String $proxy = 'https://shared-sso-proxy1.cert.sunet.se/idp',
String $entityID = $proxy,
Optional[String] $extra_proxy_conf = undef,
) {
if $ssotype == "docker" {

View file

@ -39,6 +39,10 @@
ShibUseHeaders On
<%- end -%>
<%- if @extra_proxy_conf -%>
IncludeOptional <%= @extra_proxy_conf %>
<%- endif -%>
AuthGroupFile /etc/apache2/groups.txt
Require group <% @groups.each.with_index do |group, i| %><%= group %><%= ' ' if i < (@groups.size - 1) %><% end %>
</Location>