Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
2 contributors

Users who have contributed to this file

@dshafer @dmartinez
22 lines (18 sloc) 825 Bytes
# TODO: Configure caching?
# Pass required environment variables to Apache
PassEnv FRONT_HTTPS_PORT
# Configure behavior for all proxied requests
<Proxy "*">
# Prevent these headers from being set by the client
RequestHeader unset Shib-Proxy-displayName
RequestHeader unset Shib-Proxy-eppn
RequestHeader unset Shib-Proxy-mail
# Provide headers to help the back-end application construct URLs correctly
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "%{FRONT_HTTPS_PORT}e"
# Set auth headers if corresponding environment variables have been set
# by the Shibboleth SP
RequestHeader set "Shib-Proxy-displayName" "%{displayName}e" env=displayName
RequestHeader set "Shib-Proxy-eppn" "%{eppn}e" env=eppn
RequestHeader set "Shib-Proxy-mail" "%{mail}e" env=mail
</Proxy>