Hello,

2009/9/24 Mario César Señoranis <[email protected]>:

>> > In the reverse proxy handler I need to setup the Host, X-Real-IP and
>> > X-Scheme headers to be populated by cherokee with the remote users data,
>> > as nginx do:
>>
>> "Host" and "X-Real-IP" headers are sent to the backends by default,
>> but "X-Scheme" is not supported yet.
>
> I would explain myself better.
>
> I need that the header Host takes the value of X-Forwarded-Host header
> cause we are building an application that is using facebook auth feature
> built on tornado web framework, which uses Host header to redirect on
> authentification. After the user logins on our domain.com, facebook
> redirects to 127.0.0.1:8000. That's the issue ... :'(

Yes, you can do it... There is a checkbox in HTTP reverse proxy
configuration (Preserve Host header): "Preserve the original "Host:"
header sent by the client. (Default No)"


-- 
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to