haproxy: use tcp fastopen
This commit is contained in:
parent
b0ce68bd99
commit
6474e59c30
|
@ -120,7 +120,8 @@ in
|
|||
timeout server 30000
|
||||
|
||||
frontend http-in
|
||||
bind :::80 v4v6
|
||||
# tfo is tcp fastopen
|
||||
bind :::80 tfo v4v6
|
||||
option http-keep-alive
|
||||
default_backend proxy-backend-http
|
||||
|
||||
|
@ -143,7 +144,8 @@ in
|
|||
}
|
||||
|
||||
frontend https-in
|
||||
bind :::443 v4v6
|
||||
# tfo is tcp fastopen
|
||||
bind :::443 tfo v4v6
|
||||
tcp-request inspect-delay 5s
|
||||
tcp-request content accept if { req.ssl_hello_type 1 }
|
||||
|
||||
|
|
Loading…
Reference in New Issue