Prepare Your Application for Slow Network Connection

Some time ago I started to play with AngularJS to create a simple side-project app. During this work I realized that I don’t like the differences between how the application works depending on the environment where I deploy it (localhost - faster and Docker on VPS - slower). The UX was quite poor for slower network connection and I decided to do something about that. The user experience was increased by applying some simple rules like:...

January 11, 2017 · 3 min

Keycloak on Docker with Nginx SSL proxy

JBoss Keycloak is available as a Docker image. It’s all fun and games until you’ll try to run it behind SSL reverse proxy like I do for all my services. Despite settings all required HTTP headers on the proxy side (Nginx in my case) like: 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; it fails to pass all the requests to the Docker Keycloak image (running on Wildfly server)....

January 9, 2017 · 2 min