Re: realip - protocol support

2014-11-04 Thread rcoup
Ugh, > 3. adding "set_real_scheme_from" and "real_scheme_header" directives to the realip module that manipulate the $scheme & $https variables in a similar way to $remote_addr. Of course, "set_real_scheme_from" is unnecessary, since it'll be the same list of proxies as "set_real_ip_from". Revis

realip - protocol support

2014-11-04 Thread rcoup
Hi all, I'm successfully using the realip module to validate proxies and set $remote_addr to the external IP for a request, but I'm trying to do the same for HTTP vs HTTPS where the proxy (Amazon ELB, CDN, etc) is terminating SSL and adding an X-Forwarded-Proto header ("https" or "http"). Note tha