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
4d006b80
Commit
4d006b80
authored
May 23, 2020
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also fix this test for Jails
parent
d6438356
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
h00007.vtc
bin/varnishtest/tests/h00007.vtc
+18
-14
No files found.
bin/varnishtest/tests/h00007.vtc
View file @
4d006b80
...
...
@@ -11,13 +11,29 @@ server s1 {
txresp -body "s1 >>> Hello world!"
} -start
varnish v1 -proto "PROXY" -vcl+backend {
varnish v1 -proto "PROXY" -vcl+backend {} -start
haproxy h1 -D -conf {
defaults
mode tcp
timeout connect 5s
timeout server 30s
timeout client 30s
listen ssloff
bind "fd@${fe1}"
server v1 ${v1_addr}:${v1_port} send-proxy-v2
} -start
varnish v1 -vcl+backend {
import std;
acl localhost {
"localhost";
"127.0.0.1";
"::1";
"${s1_addr}"; # Jail IPv4 address
"${h1_fe1_addr}"; # Jail IPv6 address
}
sub vcl_deliver {
...
...
@@ -29,19 +45,7 @@ varnish v1 -proto "PROXY" -vcl+backend {
set resp.http.notstdip =
std.ip("" + client.ip, resolve = false) !~ localhost;
}
} -start
haproxy h1 -D -conf {
defaults
mode tcp
timeout connect 5s
timeout server 30s
timeout client 30s
listen ssloff
bind "fd@${fe1}"
server v1 ${v1_addr}:${v1_port} send-proxy-v2
} -start
}
client c1 -connect ${h1_fe1_sock} {
txreq -url "/"
...
...
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