forked from SUNET/soc-ops
Add posibility to add extra proxy config in config file.
This commit is contained in:
parent
674b38ea2d
commit
1e101d300f
2 changed files with 5 additions and 0 deletions
|
@ -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" {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue