cannot use a dash in a backend name

This commit is contained in:
Kevin Fenzi 2017-04-05 22:13:52 +00:00
parent 24d4dea8fb
commit 9b0ebffd55

View file

@ -29,7 +29,7 @@ acl purge {
"127.0.0.1"/32;
}
backend local-apache {
backend localapache {
.host = "127.0.0.1";
.port = "8080";
.probe = {
@ -41,7 +41,7 @@ backend local-apache {
}
sub vcl_recv {
set req.backend_hint = apache-local;
set req.backend_hint = localapache;
unset req.http.cookie;
set req.http.clear-cookies = "yes";