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
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc