global
	daemon
	maxconn 100000
	log 127.0.0.1 local4 info

#multi proc single thread
	nbproc 8

#multi thread
	#nbproc 1
	#nbthread 8

	ssl-server-verify none

	tune.maxrewrite 2048

defaults
	mode http
	timeout connect 1m
	timeout client 300s
	timeout server 300s
	backlog 51200
	option accept-invalid-http-request
	option accept-invalid-http-response

listen inhttp
	mode http
	option httplog
	log global
	capture request header Host len 15

	log-format %ci:%cp/%b/%si:%sp\ %Tq/%Tw/%Tc/%Tr/%Tt\ %ST\ %U/%B\ %hr\ %{+Q}r

	filter spoe engine ip-reputation config spoe-ip-reputation.conf

	bind 10.10.10.2:80 transparent

	default_backend back1
	option http-buffer-request

backend back1
	mode http
	option http-server-close
	option http-pretend-keepalive
	server out 10.10.10.4:80
	source 0.0.0.0 usesrc 10.10.10.3

backend sec-servers
	mode tcp
	balance roundrobin

	timeout connect 5m
	timeout server  5m
	server iprep1 127.0.0.1:12345
