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
c4b418a1
Unverified
Commit
c4b418a1
authored
Mar 03, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builtin: Minor polish
Only copy the host header if needed
parent
3efdc84b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
builtin.vcl
bin/varnishd/builtin.vcl
+1
-1
No files found.
bin/varnishd/builtin.vcl
View file @
c4b418a1
...
@@ -44,7 +44,7 @@ sub vcl_recv {
...
@@ -44,7 +44,7 @@ sub vcl_recv {
}
}
sub vcl_req_host {
sub vcl_req_host {
if (req.http.host) {
if (req.http.host
~ "[[:upper:]]"
) {
set req.http.host = req.http.host.lower();
set req.http.host = req.http.host.lower();
}
}
if (!req.http.host
&&
if (!req.http.host
&&
...
...
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