I'm trying to build a website which links to multiple nodejs apps.
www.example.com/app1
www.example.com/app2
Both app1 and app2 are hosted on AWS Elastic Beanstalk.
http://app1.us-west-2.elasticbeanstalk.com
http://app2.us-west-2.elasticbeanstalk.com
How can I redirect sub-directories on example.com to these apps without changing the URL in the browser?
Should I create a 3rd app on EBS and associate example.com with it. Then use nginx on it to redirect to specific apps?
Sorry for the vagueness. I'm new to this stuff.