Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.12 KB

hipache-router.rst

File metadata and controls

54 lines (34 loc) · 1.12 KB

Hipache Router

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.

Adding repositories

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

Installing

In order to install Hipache, just use apt-get:

bash

sudo apt-get install node-hipache

Configuring

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