Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-devicedetect
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-devicedetect
Commits
f711b1fd
Commit
f711b1fd
authored
Feb 12, 2014
by
Dag Haavi Finstad
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14 from stbc/patch-1
Added a warning concerning X-UA-Device
parents
4630f687
4179d47b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
INSTALL.rst
INSTALL.rst
+3
-2
No files found.
INSTALL.rst
View file @
f711b1fd
...
@@ -47,8 +47,9 @@ VCL::
...
@@ -47,8 +47,9 @@ VCL::
set beresp.http.Vary = beresp.http.Vary + ", X-UA-Device";
set beresp.http.Vary = beresp.http.Vary + ", X-UA-Device";
}
}
}
}
# comment this out if you don't want the client to know your classification
# remove comment for testing, be careful to use this in prod
set beresp.http.X-UA-Device = req.http.X-UA-Device;
# Google might be worried about crafted content
# set beresp.http.X-UA-Device = req.http.X-UA-Device;
}
}
# to keep any caches in the wild from serving wrong content to client #2 behind them, we need to
# to keep any caches in the wild from serving wrong content to client #2 behind them, we need to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment