Last active
April 3, 2018 08:29
-
-
Save ei-grad/16d2fb1c867505818f1b to your computer and use it in GitHub Desktop.
Trivial haproxy config for tcp port forwarding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
These are deprecated:
clitimeout
srvtimeout
contimeout
Better to use these instead: