Created
April 25, 2016 13:11
-
-
Save melvincarvalho/70d1a0f2df209b902a67e206ebc6ea91 to your computer and use it in GitHub Desktop.
haproxy.cfg
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 127.0.0.1 local0 | |
| maxconn 4000 | |
| daemon | |
| uid 99 | |
| gid 99 | |
| defaults | |
| log global | |
| mode http | |
| option httplog | |
| option dontlognull | |
| timeout server 5s | |
| timeout connect 5s | |
| timeout client 5s | |
| stats enable | |
| stats refresh 10s | |
| stats uri /stats | |
| frontend ft_myapp | |
| bind :443 | |
| mode tcp | |
| default_backend bk_myapp | |
| backend bk_myapp | |
| mode tcp | |
| server app1 127.0.0.1:8443 check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment