bunkerized-nginx/examples/proxy-protocol/haproxy.cfg
2022-06-03 17:24:14 +02:00

22 lines
387 B
INI

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