Preserving all original request headers through a proxy_pass ?
    Rasmus Lerdorf 
    rasmus at lerdorf.com
       
    Tue Dec  7 02:25:28 MSK 2010
    
    
  
I'm probably being a bit lazy here, I have only skimmed the code, but is
there a way to bounce all original request headers through a proxy_pass
prefixed with X-Orig-* or something like that?
One reason for wanting to do this is for proxy detection.  Common
headers that are important to preserve are HTTP_X_FORWARDED, HTTP_VIA
and HTTP_PROXY_CONNECTION.
-R
    
    
More information about the nginx
mailing list