Commit 8f9ab39b authored by Lasse Karstensen's avatar Lasse Karstensen

Be more verbose.

This is an example, we can afford a few extra line feeds
so it is easier to read.
parent 32b07724
......@@ -8,7 +8,9 @@ server s1 {
# this example shows how to normalize the user agent string seen by the backend.
varnish v1 -vcl+backend {
include "${projectdir}/../devicedetect.vcl";
sub vcl_recv { call devicedetect; }
sub vcl_recv {
call devicedetect;
}
# req.http.X-UA-Device is copied by Varnish into bereq.http.X-UA-Device
# so, this is a bit conterintuitive. The backend creates content based on the normalized User-Agent,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment