Workaround · Self-hosting & upgrades · Blocks work
Keycloak behind Apache reverse proxy breaks connections without tuning
1 source thread · first seen 2024-02
Summary
Behind a reverse proxy Keycloak connections sometimes break; the user had to add proxy settings disabling pooling and keep-alive to stabilize it.
- Affects
- Self-hoster using Apache as reverse proxy
- Workaround
- Set proxy-initial-not-pooled and proxy-nokeepalive environment variables in Apache.
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“Keycloak is known to be a bit odd in how it sometimes works behind a reverse proxy”