Moon Light Box

Time is Money

Docker - Install Keycloak

| Comments

# docker run -d --name keycloak -p 8080:8080 -e PROXY_ADDRESS_FORWARDING=true -e KEYCLOAK_USER=johnny -e KEYCLOAK_PASSWORD=1q2w3e4r --restart unless-stopped jboss/keycloak

If you enconter this error.

{{notification.header}} {{notification.message}} 
Loading... 

Add below headers in nginx config of keycloak.

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

http://piotrnowicki.com/java/2017/01/09/keycloak-docker-with-ssl-proxy/

http://www.codingpedia.org/ama/how-to-configure-nginx-in-production-to-serve-angular-app-and-reverse-proxy-nodejs#nginx-configuration-to-reverse-proxy-keycloak

Comments

comments powered by Disqus