【问题标题】:Reverse Proxy/Forward HTTP Requests in ErlangErlang 中的反向代理/转发 HTTP 请求
【发布时间】:2014-06-16 22:29:49
【问题描述】:

我在网上搜索并找到了 inets 和 mod_esi,但是我需要构建一个模块,该模块将 HTTP 请求发送到 http://localhost:8000,然后将其反向代理到 http://localhost:9000,而不进行 HTTP 转发,因为我需要代理服务器始终对请求者保持匿名。

可以在 Node.JS 中找到类似的实现:https://github.com/nodejitsu/node-http-proxy

谁能指出我正确的方向?

【问题讨论】:

    标签: node.js http proxy erlang


    【解决方案1】:

    Yaws web server 支持正向和反向代理。也许你可以看看Yaws source code 以获得灵感。

    【讨论】:

      猜你喜欢
      • 2011-12-13
      • 1970-01-01
      • 2017-11-17
      • 1970-01-01
      • 1970-01-01
      • 2010-09-24
      • 1970-01-01
      • 2018-11-22
      • 2021-07-10
      相关资源
      最近更新 更多