Created
September 28, 2017 06:01
-
-
Save haani-niyaz/cfeeb77d14eca3450b6b6869cc9fba33 to your computer and use it in GitHub Desktop.
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
global | |
log 127.0.0.1 local2 | |
user haproxy | |
group haproxy | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
daemon | |
maxconn 1000 | |
defaults | |
log global | |
mode http | |
option httplog | |
option dontlognull | |
timeout connect 5000 | |
timeout client 50000 | |
timeout server 50000 | |
frontend hafrontend | |
bind *:80 | |
mode http | |
default_backend bitbucket_http_backend | |
backend bitbucket_http_backend | |
mode http | |
option httplog | |
option forwardfor | |
option http-server-close | |
option httpchk | |
server bitbucket01 10.0.3.155:7990 maxconn 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment