Last active
January 23, 2019 10:38
-
-
Save dsuch/5872259 to your computer and use it in GitHub Desktop.
Default frontend for HAProxy
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
frontend front_http_plain | |
mode http | |
default_backend bck_http_plain | |
acl too_fast fe_sess_rate ge 10 | |
acl bursts_inclined path_beg -i /client1 | |
tcp-request inspect-delay 1000ms | |
tcp-request content accept unless bursts_inclined too_fast | |
tcp-request content accept if WAIT_END | |
option httplog # ZATO frontend front_http_plain:option log-http-requests | |
bind 127.0.0.1:11223 # ZATO frontend front_http_plain:bind | |
maxconn 200 # ZATO frontend front_http_plain:maxconn | |
monitor-uri /zato-lb-alive # ZATO frontend front_http_plain:monitor-uri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment