Port forwarding / managed web

Matthew Palmer <>
Sun Dec 6 23:36:12 CET 2009


On Sun, Dec 06, 2009 at 03:06:58AM -0800, Johann H?chtl wrote:
> Let's assume, that I have multiple web applications runing on
> different ports, possibly load balanced by the distributed nature of
> erlang. What I woud like to achive is that incoming request are all
> routed to port 80 (or 443 resp.) eg, /application1, /application2 and
> internally forwarded to the respective applications.

Use a "real" webserver to accept the requests on port 80/443, do whatever
request decoding is required, and then use the internal proxy modules
(mod_proxy on Apache, HttpProxyModule for nginx) to pass the requests back
to the applications as required.

- Matt


More information about the erlang-questions mailing list