Skip to content

Instantly share code, notes, and snippets.

View mcc1's full-sized avatar

mcc mcc1

  • Taiwan
  • 07:53 (UTC +08:00)
View GitHub Profile
@mcc1
mcc1 / haproxy.cfg
Created June 11, 2017 09:37 — forked from thisismitch/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