Configure nginx as a keycloak proxy

I haven’t found a propitiate configuration of nginx for Keycloak configuration, that’s why I am going to publish mine here. If you have a problem with keycloak “invalid_url”, please go ahead and try that configuration ;)

I assume that you run nginx on same server as keycloak (localhost) and listens on port 8443. Content of file is located in my case in /etc/nginx/default.d/keycloak.conf.


Leave a Reply

− one = 4