diff --git a/helm/keycloak/conf/prod/values.yaml b/helm/keycloak/conf/prod/values.yaml index f679cf2bf..58a182fc2 100644 --- a/helm/keycloak/conf/prod/values.yaml +++ b/helm/keycloak/conf/prod/values.yaml @@ -11,7 +11,13 @@ ingress: - host: auth.yoma.world external: enabled: true + annotations: + nginx.ingress.kubernetes.io/configuration-snippet: |- + if ($host = 'auth.yoma.world') { + rewrite ^ https://yoma.world/auth$request_uri permanent; + } rules: + - host: auth.yoma.world - host: yoma.world paths: - path: /auth/realms/yoma