El jue, 24-09-2009 a las 00:38 +0200, Antonio Pérez escribió:
> Hello,
> 
> On Thu, Sep 24, 2009 at 12:21 AM, Mario César <[email protected]> 
> wrote:
> 
> > 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:
> >
> > The exact question would be how can I do this:
> > http://gist.github.com/192333#LID14 in cherokee.
> >
> > I don't see any docs in cherokee-project.com about this, so I am guessing is
> > a *hide* feature :D, I would be so grateful for a quick answers as my
> > coworkers want to install nginx in our servers while I am sleeping ... :'(
> 
> "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 ... :'(

Here is the headers and config for cherokee and nginx
http://gist.github.com/192498 you can easily see the differences

My *nginx-fan-lead-dev* is getting annoying with all his comments about
cherokee ¬¬

I am guessing this is posible as is posible in nginx.

So, Alvaro if you are reading? any tips, ideas, explanation?

We are using Cherokee Web Server 0.99.25 r3673

Best Regards

-- 
Mario César Señoranis Ayala

Twitter: http://twitter.com/mariocesar_bo
Arte: http://mariocesar.deviantart.com
Blog Software Libre: http://softwarelibre.org.bo/mariocesar
Noticias Compartidas: http://tinyurl.com/mariocesar-shared-news

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to