This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
npm install redis | |
*/ | |
var http = require('http'); | |
var fs = require('fs'); | |
var redis = require("redis"); | |
/* ------------------------------------------------------------------------------------------------ */ | |
var server_id = 'source1'; // unique server id | |
var server_hostname = 'http://source1.domain.com'; // hostname | |
var server_network_interface = 'eth0'; // public network interface where nginx listens |