Repository navigation
Keycloak && Nginx Reverse Proxy #12373
AlexeiKlimenko
started this conversation in
Archive
Replies: 1 comment
|
I'll share mine, I've just gone through this for Keycloak 18 and it was very frustrating. Its working but I don't know if its "good". I really hate this type of proxy configuration, so I'd love to see some recommended configurations for the common reverse proxy servers as part of the documentation or in an examples repository. I tried to follow the recommendations about restricting access to the admin console from the reverse proxy guide and this is what I came up with for Nginx. For context Keycloak and Nginx are running as containers within an AWS Fargate task on a private subnet behind an application loadbalancer. |
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 using latest version KC and have started to publish it via nginx according to https://www.keycloak.org/server/reverseproxy
At the moment we're looking for secure working config nginx for this purpose, but unfortunately this deal didn't fully described in RTFM.
The main config:
`upstream kc {
ip_hash;
server kc01:443;
}
server {
include /etc/nginx/listeners_80_443;
server_name kc;
}`
What do you think about it and could you share your examples?
All reactions