Skip to content

Instantly share code, notes, and snippets.

@weaming
Forked from cmer/haproxy.cfg
Created May 11, 2020 01:55
Show Gist options
  • Save weaming/f1f93915ec1020f5e7c6789238d5e751 to your computer and use it in GitHub Desktop.
Save weaming/f1f93915ec1020f5e7c6789238d5e751 to your computer and use it in GitHub Desktop.
Simple, no bullshit TCP port forwarding using HAProxy
listen l1
bind 0.0.0.0:443
mode tcp
timeout connect 4000
timeout client 180000
timeout server 180000
server srv1 host.example.com:9443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment