Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block haproxytechblog

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
haproxytechblog / blog20190724-01.txt
Created Aug 15, 2019
DNS for Service Discovery in HAProxy
View blog20190724-01.txt TTL class SRV priority weight port target
haproxytechblog / blog20190730-01.cfg
Created Jul 29, 2019
Four Examples of HAProxy Rate Limiting
View blog20190730-01.cfg
backend servers
server s1 check maxconn 30
server s2 check maxconn 30
server s3 check maxconn 30
haproxytechblog /
Last active Jul 29, 2019
HAProxy Traffic Mirroring for Real-world Testing
$ sudo apt update
$ sudo apt install -y autoconf automake build-essential git libcurl4-openssl-dev libev-dev libpthread-stubs0-dev pkg-config
$ git clone
$ cd spoa-mirror
$ ./scripts/bootstrap
$ ./configure
$ make all
$ sudo cp ./src/spoa-mirror /usr/local/bin/
View blog20171011-01.cfg
bind ssl crt /etc/ssl/certs/mysite.pem
default_backend web_servers
haproxytechblog / blog20190712-01.cfg
Last active Jul 12, 2019
HAProxy Layer 7 Retries and Chaos Engineering
View blog20190712-01.cfg
backend be_servers
balance roundrobin
server s1 server1:80 maxconn 10
server s2 server2:80 maxconn 10
server s3 server3:80 maxconn 10
haproxytechblog /
Last active Jul 11, 2019
Dissecting the HAProxy Kubernetes Ingress Controller
kubectl apply -f
$ curl --get --user admin:mypassword \
View blog20190616-01.cfg
log stdout local0
log fd@1 local0
log stdout format raw local0
View haproxy-config-2-0.cfg
# This is the ultimate HAProxy 2.0 "Getting Started" config
# It demonstrates many of the features available which are now available
# While you may not need all of these things, this can serve
# as a reference for your own configurations.
# Have questions? Check out our community Slack:
haproxytechblog / blog20190614-01.yaml
Last active Jun 13, 2019
Tracing Requests Through HAProxy with AWS X-Ray
View blog20190614-01.yaml
TotalBufferSizeMB: 0
Concurrency: 8
Region: "us-east-2"
Endpoint: ""
UDPAddress: ""
TCPAddress: ""
LogRotation: true
LogLevel: "prod"
You can’t perform that action at this time.