Too many redirects

This nginx conf will let me see app.example.com, but when I add the headers to the nginx file, I get too many redirects. How do I get the headers passed to rancher>?

worker_processes 4;
worker_rlimit_nofile 40000;

events {
    worker_connections 8192;
}

stream {
    upstream rancher_servers_http {
        least_conn;
        server 10.34.70.12:80 max_fails=3 fail_timeout=5s;
        #server <IP_NODE_2>:80 max_fails=3 fail_timeout=5s;
        #server <IP_NODE_3>:80 max_fails=3 fail_timeout=5s;
    }
    server {
        listen 80;
        proxy_pass rancher_servers_http;

    }

    upstream rancher_servers_https { 
         least_conn; 
         server 10.34.70.12:443 max_fails=3 fail_timeout=5s;
        #server 10.34.70.12:443 max_fails=3 fail_timeout=5s;
        #server 10.34.70.12:443 max_fails=3 fail_timeout=5s;
    }
    server {
        listen     443;
        proxy_pass rancher_servers_https;
        ssl_certificate /etc/nginx/ssl/tls.crt;
        ssl_certificate_key /etc/nginx/ssl/tls.key;
    }

}