forked from SUNET/soc-ops
Fixes to get SSO 401 working.
This commit is contained in:
parent
1a3535a23c
commit
8782193d94
2 changed files with 7 additions and 5 deletions
|
@ -27,12 +27,14 @@
|
|||
# after it has been globally disabled with "a2disconf".
|
||||
#Include conf-available/serve-cgi-bin.conf
|
||||
|
||||
Alias /error /var/www/error
|
||||
<Directory /var/www/error>
|
||||
Alias /.ssoerror /var/www/ssoerror
|
||||
<Directory /var/www/ssoerror>
|
||||
Satisfy any
|
||||
Allow from all
|
||||
AuthType None
|
||||
Require all granted
|
||||
</Directory>
|
||||
ErrorDocument 401 /error/401.html
|
||||
ErrorDocument 401 /.ssoerror/401.html
|
||||
|
||||
<Location />
|
||||
AuthType shibboleth
|
||||
|
@ -69,7 +71,7 @@
|
|||
</Location>
|
||||
<%- end -%>
|
||||
|
||||
ProxyPass "/error" !
|
||||
ProxyPass "/.ssoerror" !
|
||||
ProxyPass "/" "<%= @service_endpoint %>/"
|
||||
ProxyPassReverse "/" "<%= @service_endpoint %>/"
|
||||
UseCanonicalName On
|
||||
|
|
|
@ -23,7 +23,7 @@ services:
|
|||
<% end -%>
|
||||
- ./shibboleth/sp-cert.pem:/etc/shibboleth/sp-cert.pem
|
||||
- ./shibboleth/sp-key.pem:/etc/shibboleth/sp-key.pem
|
||||
- ./apache/401.html:/var/www/error/401.html:ro
|
||||
- ./apache/401.html:/var/www/ssoerror/401.html:ro
|
||||
<% if @extra_proxy_conf -%>
|
||||
- <%= @extra_proxy_conf %>:<%= @extra_proxy_conf %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Reference in a new issue