Skip to content

Instantly share code, notes, and snippets.

@m4ce
m4ce / haproxy.cfg
Created March 16, 2017 16:33
FreeIPA behind HAProxy
frontend ft_ipa
mode http
bind 0.0.0.0:80
bind 0.0.0.0:443 ssl crt /etc/haproxy/ssl/ipa.example.org.pem
redirect scheme https if !{ ssl_fc }
use_backend bk_ipa
backend bk_ipa
anonymous
anonymous / night-before-opsmas.txt
Created December 24, 2013 07:19
Twas the night before Opsmas..
'Twas the night before Christmas, when all through the racks
Not a server was alerting, not even Compaqs.
The backups were written to tapes with care
In hopes that later the data would be there.
The machines were nestled all snug in their sleds
Whilst visions of vengeance danced in their heads;
And oncall in his three-wolf and I in my rack.
Had just settled down for some syn and some ack.
@brantfaircloth
brantfaircloth / ghost.sh
Last active May 20, 2020 09:20
CentOS init script for the ghost blogging platform
#!/bin/sh
#
# ghost - this script starts the ghost blogging package
#
# chkconfig: - 95 20
# description: ghost is a blogging platform built using javascript \
# and running on nodejs
#
# Source function library.