Skip to content

Instantly share code, notes, and snippets.

@a0n
Last active June 24, 2017 00:27
Show Gist options
  • Save a0n/c2f4e30cb1eb068bed2f3652a5da728c to your computer and use it in GitHub Desktop.
Save a0n/c2f4e30cb1eb068bed2f3652a5da728c to your computer and use it in GitHub Desktop.
install fabio
#!/bin/bash
systemctl stop fabio;
killall fabio;
rm -f `which fabio`;
rm -f `which fabio`;
wget -O /usr/sbin/fabio "https://github.com/fabiolb/fabio/releases/download/v1.5.0/fabio-1.5.0-go1.8.3-linux_amd64"
chmod +x /usr/sbin/fabio;
setcap CAP_NET_BIND_SERVICE=+eip /usr/sbin/fabio;
systemctl start fabio;
systemctl start fabio@http;
systemctl start fabio@https;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment