No subject
Reinhard Trompetter
trompetter at titandsl.de
Tue Nov 20 22:03:33 UTC 2012
Hi,
I cannot solve my problem, therefore again I write this post:
My public IP is 217.140.77.176 und the corresponding domain
"www.medmoodle.de".
The varnish cache server hat the IP 192.168.1.59 and is reached over NAT
and port 80 from my router with the public IP above.
My configuration file "/etc/varnish/default.vcl" looks like:
backend moodle {
.host = "192.168.1.57"; #IP of moodle backend
.port = "80";
}
backend drupal {
.host = "192.168.1.60"; #IP of drupal backend
.port = "80";
}
sub vcl_recv {
if (req.url~"^/moodle"){
set req.backend = moodle;
}else if(req.url~"^/drupal"){
set req.backend = drupal;
}
Best Regards,
Reinhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/vinyl-misc/attachments/20121120/1c66d4ad/attachment.html>
More information about the vinyl-misc
mailing list