Keycloak: redirect / to /realms/janky.solutions/account
This commit is contained in:
parent
7bcdf2ff96
commit
d884b2536f
1 changed files with 11 additions and 0 deletions
|
@ -11,6 +11,8 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: keycloak
|
name: keycloak
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.middlewares: keycloak-keycloak-root-redirect@kubernetescrd
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: auth.janky.solutions
|
- host: auth.janky.solutions
|
||||||
|
@ -42,3 +44,12 @@ spec:
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
selector:
|
selector:
|
||||||
app: keycloak
|
app: keycloak
|
||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: keycloak-root-redirect
|
||||||
|
spec:
|
||||||
|
redirectRegex:
|
||||||
|
regex: ^https://auth.janky.solutions/$
|
||||||
|
replacement: https://auth.janky.solutions/realms/janky.solutions/account
|
||||||
|
|
Loading…
Reference in a new issue