All local environment

1 keycloak 1.7 & 1.9 listening on port 8080
2 tomcat 7 with java webapp using Keycloak filter (not the adapter)
1 nginx load balancing the 2 tomcats. Nginx config below

upstream jeremy {
        server localhost:8082;
        server localhost:8999;
    }

    server {
        listen 80;
server_name localhost;

        location / {
            proxy_pass http://jeremy/;
            proxy_redirect off;
    proxy_set_header Host $host;
}
  }

My Keycloak client all defaults, 1 only valid redirect_uri. 
As soon as I validate the login in keycloak it gets crazy with ERR_TOO_MANY_REDIRECTS

The same thing happen in AWS having a ELB > tomcats or ELB > NGINX > tomcats.

Anyone had a similar issue ?