Sam Stelfox

Thoughts from a software engineer, systems hacker and Linux gubernāre.


Installing and setting up hipache. To actually install this I had to open up port tcp/9418 outbound on the server.

yum install git npm -y
npm install hipache -g

Create an initial configuration file:

cat << EOF > /etc/hipache.json
  "server": {
    "accessLog": "/var/log/hipache_access.log",
    "port": 80,
    "workers": 5,
    "maxSockets": 100,
    "deadBackendTTL": 30,
    "address": [""],
    "address6": ["::"]
  "redisHost": "",
  "redisPort": 6379,
  "redisDatabase": 0,
  "redisPassword": "password"

Allow redis access to the local redis servers:

-A OUTPUT -m tcp -p tcp --dport 6379 -d -j ACCEPT