找回密码
 注-册

QQ登录

只需一步,快速开始

查看: 1259|回复: 0

请求复制器em-proxy

[复制链接]
发表于 2016-12-8 16:11:11 | 显示全部楼层 |阅读模式
https://github.com/igrigorik/em-proxy

$> gem install em-proxy
$> em-proxy
Usage: em-proxy [options]
  -l, --listen [PORT]              Port to listen on
  -d, --duplex [host:port, ...]    List of backends to duplex data to
  -r, --relay [hostname:port]      Relay endpoint: hostname:port
  -s, --socket [filename]          Relay endpoint: unix filename
  -v, --verbose                    Run in debug mode

$> em-proxy -l 8080 -r localhost:8081 -d localhost:8082,localhost:8083 -v
The above will start em-proxy on port 8080, relay and respond with data from port 8081, and also (optional) duplicate all traffic to ports 8082 and 8083 (and discard their responses).
您需要登录后才可以回帖 登录 | 注-册

本版积分规则

Archiver|手机版|小黑屋|数码鹭岛 ( 闽ICP备20006246号 )

counter

GMT+8, 2026-1-25 08:35 , Processed in 0.082853 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表