[erlang-questions] Port forwarding / managed web
Sun Dec 6 13:11:32 CET 2009
I use haproxy or nginx on port 80/443 that reverse proxy connections to my
Erlang server. That way I don't have erlang running as root. nginx is great
because it handles https and can serve static content at the same time, but
has a crappy way of handling file uploads, so I use haproxy when I need
On Sun, Dec 6, 2009 at 12:06 PM, Johann Höchtl <johann.hoechtl@REDACTED>wrote:
> I have been out of programming the last five years. During this time
> the world considerably changed, especially when it comes to web
> frameworks. Back then, everything was served by apache (eg. PHP),or on
> windows IIS (.NET worker process) and the frameworks were citizens of
> the web servers.
> In the Erlang world this seems considerably different. Nitrogen,
> webmachine, Erlang Web preferably embed a web server (Yaws, mochiweb),
> instead of beeing an application served in an existing web framework.
> 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.
> I know that this question is not necessarily erlang centric.
> Can somebody give me some hints as how to set up a web ecosystem in a
> unix/linux environment, that best suits that requirement?
> Thank you,
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions