Skip to content

Commit d21a619

Browse files
committed
TEST/MINOR: e2e: add proper haproxy config for x_issue_132 test
1 parent 62ca7d9 commit d21a619

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

e2e/tests/x_issue_132/data/haproxy.cfg

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1-
frontend bug_132_bck
1+
global
2+
chroot /var/lib/haproxy
3+
user haproxy
4+
group haproxy
5+
maxconn 4000
6+
pidfile /var/run/haproxy.pid
7+
stats socket /var/lib/haproxy/stats level admin
8+
log 127.0.0.1 local2
9+
10+
defaults mydefaults
11+
mode http
12+
maxconn 3000
13+
log global
14+
option httplog
15+
option redispatch
16+
option dontlognull
17+
option http-server-close
18+
option forwardfor except 127.0.0.0/8
19+
timeout http-request 10s
20+
timeout check 10s
21+
timeout connect 10s
22+
timeout client 1m
23+
timeout queue 1m
24+
timeout server 1m
25+
timeout http-keep-alive 10s
26+
retries 3
27+
28+
frontend bug_132_fr
229
bind *:1132
330
http-response replace-header Set-Cookie (.*) \1;\ Secure if { ssl_fc }
431
http-response replace-header Set-Cookie (.*);\ Secure(.*) \1\2 unless { ssl_fc }

0 commit comments

Comments
 (0)