Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Misc

Add custom server variable from Varnish

 

 

Varnish misc RSS feed   Index | Next | Previous | View Threaded


abraham.sustaita at buscacorp

Jul 17, 2012, 1:45 PM

Post #1 of 3 (306 views)
Permalink
Add custom server variable from Varnish

Can I add something like

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

to varnish?


roberto.fernandezcrisial at gmail

Jul 17, 2012, 1:53 PM

Post #2 of 3 (298 views)
Permalink
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 [at] buscacorp> wrote:

> Can I add something like
>
> set req.http.real_host = "google.com"
>
> to varnish?
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc [at] varnish-cache
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>


abraham.sustaita at buscacorp

Jul 17, 2012, 1:54 PM

Post #3 of 3 (306 views)
Permalink
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 [at] gmail>

> 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 [at] buscacorp> wrote:
>
>> Can I add something like
>>
>> set req.http.real_host = "google.com"
>>
>> to varnish?
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc [at] varnish-cache
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>

Varnish misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.