single IP and domain and multiple backens

Reinhard Trompetter trompetter at titandsl.de
Sat Nov 17 08:11:01 CET 2012


Hi,

I am a newbie at varnish and have the following problem:

I want to redirect traffic to different servers (Moodle, Drupal) within 
a private network.

Is the following setup feasible (and if so, what would the VCL look like):

1. "www.medmoodle.de" (with public IP adress) from the internet to my router

2. When a request is made to "www.medmoodle.de/moodle" varnish sends the 
request to the url "www.medmoodle.de/moodle" on private IP 192.168.1.x

3. When a request is made to "www.medmoodle.de/drupal" varnish sends the 
request to the url "www.medmoodle.de/drupal" on private IP 192.168.1.y

Regards

Reinhard





More information about the varnish-misc mailing list