initial commit master
[http-memcache-proxy.git] / example.js
1
2
3
4
5
6
7
8
9
10
11
var httpMemcacheProxy = require('./lib/http-memcache-proxy');
 
httpMemcacheProxy.createServer({
  changeOrigin: true,
  target: {
    host: 'git.razvi.ro',
    port: 80,
  },
  memcache: {'127.0.0.1:11211': 1},
}).listen(2380);
 
comments