[英]Running two meteor apps in the same aws instance on two different sub-domains using Route53
I have two Meteor Apps deployed in the same AWS EC2 instance. 我在同一个AWS EC2实例中部署了两个Meteor Apps。 One of them running on port 80 and the other which is the admin app running on port 8000. Both share the same local MongoDB. 其中一个运行在端口80上,另一个运行在端口8000上的管理应用程序。两者共享相同的本地MongoDB。 Now I want to create a sub-domain like dashboard.myapp.com
and point it to myapp.com:8000
. 现在,我想创建一个类似dashboard.myapp.com
的子域,并将其指向myapp.com:8000
。
创建指向您的AWS EC2实例的dns记录,安装nginx并将其配置为将所有请求重定向到dashborad.myapp.com
到端口8000,另一个重定向到端口80。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.