Hipache is a distributed HTTP and websocket proxy.
tsuru uses Hipache to route the requests to the containers. Routing information is stored by tsuru in the configured Redis server, Hipache will read this configuration directly from Redis.
Let's start adding the repositories for tsuru which contain the Hipache package.
bash
sudo apt-get update
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:tsuru/ppa -y
sudo apt-get update
In order to install Hipache, just use apt-get:
bash
sudo apt-get install node-hipache
In your /etc/hipache.conf
file you must set the redisHost
and redisPort
configuration values. After this, you only need to start Hipache with:
bash
sudo start hipache