On Apr 21, 2014, at 15:03 , [email protected] wrote:

> Hi,
> 
> There is ngx_http_realip_module to have the real ip in nginx when you are 
> behind a load balancer
> If the load balancer is also terminating the ssl, and connecting to nginx 
> with http, how to set the real proto ?

proxy_set_header X-Real-Proto  $scheme;

http://nginx.org/r/$scheme


-- 
Igor Sysoev
http://nginx.com

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to