Skip to content

Instantly share code, notes, and snippets.

@markchou
Forked from ei-grad/haproxy.cfg
Created April 3, 2018 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markchou/24e814c3ffa426bf25e0be71f0d377fe to your computer and use it in GitHub Desktop.
Save markchou/24e814c3ffa426bf25e0be71f0d377fe to your computer and use it in GitHub Desktop.
Trivial haproxy config for tcp port forwarding
listen l1
bind 0.0.0.0:80
mode tcp
timeout connect 4000
timeout client 180000
timeout server 180000
server srv1 192.168.1.1:80
global
user "nobody"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment