Multiple Backends
backend default { .host = "127.0.0.1"; .port = "8080"; } backend stylesheets { .host = "10.0.0.10"; .port = "80"; } sub vcl_recv { if (req.url ~ "^/stylesheets") { # set stylesheets backend set req.backend = stylesheets; return(lookup); } # set default backend set req.backend = default; return(pass); }
沒有留言:
張貼留言