Skip to content

Instantly share code, notes, and snippets.

View imgeraldalinio's full-sized avatar
😎
Innovator

Gerald Alinio imgeraldalinio

😎
Innovator
View GitHub Profile
@imgeraldalinio
imgeraldalinio / haproxy-config-2-0.cfg
Created September 17, 2019 06:56 — forked from haproxytechblog/haproxy-config-2-0.cfg
HAProxy 2.0 configuration
#
# 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:
# https://slack.haproxy.org/
#
@imgeraldalinio
imgeraldalinio / haproxy.cfg
Created July 17, 2019 16:24 — forked from T0MM0R/haproxy.cfg
Let's Encrypt Auto-Renewal script for HAProxy
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin
stats timeout 30s
user haproxy
group haproxy
daemon
maxconn 2048