Repository navigation
Too many redirects
#44893
Replies: 1 comment
Seems fine to use. However you would leave the hostname as https://mydomain.org/admin
Make sure you know exactly what your proxy config is doing. If you add curl to the keycloak container, or start a container with curl on the same network as the keycloak container, or increasing logging enough on your proxy, you should be able to see the reponse, including headers, that keycloak is sending to the proxy. If it looks correct, the the problem lies with the proxy configuration. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We're currently having a problem where "admin" appears twice in our URL. Everything is working, but we wanted to fix this. Our current configuration and URL:
https://mydomain.org/admin/admin/master/console/
Keycloak startup-configuration:
This is our NGINX configuration:
We thought we could simply change the following in NGINX (remove admin after port 8280):
proxy_pass http://localhost:8280;and leave the startup configuration as is, except for the parameter:
--hostname=https://mydomain.org \We restarted nginx and stoped and recreated keycloak with our newly adapted startup configuration.
When we try to open Keycloak via the domain:
https://mydomain.org/adminwe get the error message: too many redirects.
We've already cleared cookies and cache and tried accessing the site with a different browser. We keep getting the same error.
What are we doing wrong?
Thanks a lot
All reactions