31 lines
1 KiB
Text
31 lines
1 KiB
Text
|
<VirtualHost *:80>
|
||
|
|
||
|
ServerName keycloak.example.org
|
||
|
|
||
|
DocumentRoot /var/www/html
|
||
|
|
||
|
ProxyPass /js/ http://localhost:8080/js/
|
||
|
ProxyPassReverse /js/ http://localhost:8080/js/
|
||
|
ProxyPass /realms/ http://localhost:8080/realms/
|
||
|
ProxyPassReverse /realms/ http://localhost:8080/realms/
|
||
|
ProxyPass /resources/ http://localhost:8080/resources/
|
||
|
ProxyPassReverse /resources/ http://localhost:8080/resources/
|
||
|
|
||
|
# Redirect root to user account management
|
||
|
RewriteEngine on
|
||
|
RewriteRule ^/?$ /realms/EXAMPLE/account [L,R]
|
||
|
|
||
|
## Test client that dumps the id_token
|
||
|
#OIDCProviderMetadataURL https://keycloak.example.org/realms/EXAMPLE/.well-known/openid-configuration
|
||
|
#OIDCClientID foo
|
||
|
#OIDCClientSecret bar
|
||
|
#OIDCRedirectURI https://keycloak.example.org/test-client/redirect
|
||
|
#OIDCCryptoPassphrase supersecurepassword
|
||
|
#OIDCInfoHook id_token
|
||
|
#<Location /test-client>
|
||
|
# AuthType openid-connect
|
||
|
# Require valid-user
|
||
|
# RewriteRule .* /test-client/redirect?info=html
|
||
|
#</Location>
|
||
|
|
||
|
</VirtualHost>
|