end-to-end/proxyproto/haproxy.cfg
2026-02-17 22:14:12 +01:00

19 lines
334 B
INI

defaults
timeout connect 5s
timeout client 50s
timeout server 50s
frontend main_v1
bind :3001
default_backend forgejo_v1
frontend main_v2
bind :3002
default_backend forgejo_v2
backend forgejo_v1
server main localhost:3000 send-proxy
backend forgejo_v2
server main localhost:3000 send-proxy-v2