I have an app that contains multiple phoenix applications in umbrella each one started on a different port.
I development I can access each app like this:
[info] Running Phoenix1Web.Endpoint with Cowboy using http://0.0.0.0:4000 [info] Running Phoenix2Web.Endpoint with Cowboy using http://0.0.0.0:4001
How can I access this applications in development with a more friendly url. Something like:
I tried using /etc/hosts file but without luck because I can not change the port in there.
I know that I can do it with nginx but I am looking if there is an easier solution. Something like pow does for Rack applications.