Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse Proxy behind the keycloak. #785

Open
amfgomez1219 opened this issue Jul 30, 2024 · 2 comments
Open

Reverse Proxy behind the keycloak. #785

amfgomez1219 opened this issue Jul 30, 2024 · 2 comments

Comments

@amfgomez1219
Copy link

Hi.

is it possible to implement an NGINX reverse proxy that serves the HTTPS protocol in front of Kuberntes cluster and pod keycloakx.?

I have deployed the keycloak with HTTP protocol.
image

Copy link

This issue has been marked as stale because it has been open for 30 days with no activity. It will be automatically closed in 10 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Sep 28, 2024
@lgladysz
Copy link

lgladysz commented Oct 2, 2024

This worked for me:

          ingress:
            enabled: true
            ingressClassName: nginx
            rules:
              -
                host: test.example.com
                paths:
                  - path: /auth/
                    pathType: Prefix
            tls:
              - hosts:
                  - test.example.com
          proxy:
            enabled: true
            mode: xforwarded
          extraEnv: |
            - name: KC_HOSTNAME
              value: test.example.com
            - name: JAVA_OPTS_APPEND
              value: >-
                -XX:MaxRAMPercentage=50.0
                -Djgroups.dns.query={{ include "keycloak.fullname" . }}-headless

Also remember to configure your client properly in the realm.

@github-actions github-actions bot removed the Stale label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants