Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
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-cache
Commits
ee55121a
Commit
ee55121a
authored
Jan 29, 2014
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace non-breaking spaces to make pdflatex happy
parent
4067f504
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
devicedetection.rst
doc/sphinx/users-guide/devicedetection.rst
+2
-2
No files found.
doc/sphinx/users-guide/devicedetection.rst
View file @
ee55121a
...
@@ -21,8 +21,8 @@ that content is to be served to.
...
@@ -21,8 +21,8 @@ that content is to be served to.
Setting this header can be as simple as::
Setting this header can be as simple as::
sub vcl_recv {
sub vcl_recv {
if (req.http.User-Agent ~ "(?i)iphone"
{
if (req.http.User-Agent ~ "(?i)iphone"
{
set req.http.X-UA-Device = "mobile-iphone";
set req.http.X-UA-Device = "mobile-iphone";
}
}
}
}
...
...
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