>From the Cookbook#Reverse Proxy
<https://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Reverse-proxy>:

*[A reverse proxy] can provide a lot of benefits, like terminating SSL
connections from the outside, limiting the number of concurrent open
sockets towards the Mojolicious application (or even using Unix sockets),
balancing load across multiple instances, or supporting several
applications through the same IP/port.*


What steps are necessary to support several applications through the same
IP/port?

I'm picturing having two separate Mojolicious applications running in two
separate system processes, each with their own Perl binary even.  What is
necessary to reverse proxy a connection to these two separate apps
listening on the same IP/port?  How does the reverse proxy (nginx) know
which process should get the request proxied to it?

Or am I misunderstanding what is stated in bold above?

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/CACyQ%2BFSkT_YXpnUbakT%3DO%2Bi1y99vVxpg8rVo%3D8V33LUtLhNfPQ%40mail.gmail.com.

Reply via email to