bunkerweb/examples/proxy-protocol/haproxy.cfg

23 lines
387 B
INI
Raw Normal View History

2022-06-03 15:24:14 +00:00
defaults
timeout connect 5s
timeout client 5s
timeout server 5s
frontend http_front
mode tcp
bind *:8080
default_backend http_back
frontend https_front
mode tcp
bind *:8443
default_backend https_back
backend http_back
mode tcp
server server01 mybunker:8080 send-proxy-v2
backend https_back
mode tcp
server server01 mybunker:8443 send-proxy-v2