Mailing List Archive

Add custom server variable from Varnish
Can I add something like

set req.http.real_host = "google.com"

to varnish?
Re: Add custom server variable from Varnish [ In reply to ]
Hi Abraham,

I think you can add req.http.X-Real-Host to vcl_recv().

Best,

Roberto
@rofc

On Tue, Jul 17, 2012 at 5:45 PM, Abraham Cruz Sustaita <
abraham.sustaita@buscacorp.com> wrote:

> Can I add something like
>
> set req.http.real_host = "google.com"
>
> to varnish?
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
Re: Add custom server variable from Varnish [ In reply to ]
Thanks a lot. Let me try it.

2012/7/17 Roberto O. Fernández Crisial <roberto.fernandezcrisial@gmail.com>

> Hi Abraham,
>
> I think you can add req.http.X-Real-Host to vcl_recv().
>
> Best,
>
> Roberto
> @rofc
>
> On Tue, Jul 17, 2012 at 5:45 PM, Abraham Cruz Sustaita <
> abraham.sustaita@buscacorp.com> wrote:
>
>> Can I add something like
>>
>> set req.http.real_host = "google.com"
>>
>> to varnish?
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc@varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>