Created
July 16, 2016 09:54
-
-
Save russch/dc30b55d9c4d1792f9bda359e741b51f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
maxconn 4000 | |
user haproxy | |
group haproxy | |
daemon | |
stats socket /var/lib/haproxy/stats mode 777 | |
listen MySQL 0.0.0.0:3306 | |
timeout connect 10s | |
timeout client 1m | |
timeout server 1m | |
mode tcp | |
server singleMySQL proxymenow.redacted.us-east-1.rds.amazonaws.com:3306 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment