-
-director packages_debian_org random {
- {
- .backend = {
- .host = "194.177.211.202";
- .port = "80";
- }
- .weight = 10000;
- }
- {
- .backend = {
- .host = "87.106.64.223";
- .port = "80";
- }
- .weight = 1;
- }
-}
-
-
-sub vcl_recv {
-
- # Add a unique header containing the client address
- remove req.http.X-Forwarded-For;
- set req.http.X-Forwarded-For = req.http.rlnclientipaddr;
-
- set req.backend = packages_debian_org;
-
- return(lookup);