Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (28 sloc) 1 KB
<VirtualHost _default_:443>
SSLEngine on
SSLProxyEngine on
SSLProxyVerify ${SSLPROXYVERIFY}
SSLProxyCheckPeerCN ${SSLPROXYCHECKPEERCN}
SSLProxyCheckPeerName ${SSLPROXYCHECKPEERNAME}
SSLProxyCheckPeerExpire ${SSLPROXYCHECKPEEREXPIRE}
SSLProxyMachineCertificateFile ${SSLPROXYMACHINECERT}
SSLCertificateFile ${SSLCERT}
SSLCertificateKeyFile ${SSLKEY}
OIDCProviderMetadataURL ${OIDCPROVIDERMETADATAURL}
OIDCClientID ${OIDCCLIENTID}
OIDCClientSecret ${OIDCCLIENTSECRET}
OIDCCryptoPassphrase ${OIDCCRYPTOPASSPHRASE}
OIDCScrubRequestHeaders ${OIDCSCRUBREQUESTHEADERS}
OIDCRemoteUserClaim email
OIDCScope "openid email"
OIDCRedirectURI https://${REDIRECTDOMAIN}/redirect_uri
ServerName ${SERVERNAME}
ProxyPass / https://${SERVERNAME}/
<Location "/">
AuthType openid-connect
#Require claim sub:email
Require valid-user
RequestHeader set Authorization "Bearer %{HTTP_OIDC_ACCESS_TOKEN}e" env=HTTP_OIDC_ACCESS_TOKEN
LogLevel debug
</Location>
</VirtualHost>