Skip to content

Instantly share code, notes, and snippets.

@SaeedDev94
Forked from cmer/haproxy.cfg
Created July 28, 2023 07:27
Show Gist options
  • Save SaeedDev94/77f6dd4c2c095752a09d4268927c0f25 to your computer and use it in GitHub Desktop.
Save SaeedDev94/77f6dd4c2c095752a09d4268927c0f25 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