Okay I see. I think the trouble is that I am terminating the SSL with a proxy (Nginx) and handing off the request to a container also running Nginx, but without SSL. So will have to find a way to deal with this scenario