Route 53 Record Set on Different Port

前端 未结 2 1765
臣服心动
臣服心动 2021-02-01 19:19

I\'m a ruby dev and I just started to learn some Node.js.

I\'m running an instance on AWS to host my rails apps with passenger + nginx

2条回答
  •  没有蜡笔的小新
    2021-02-01 20:09

    In general, DNS does not care about ports.

    You should be able to however, configure nginx to handle both virtual hosts with a reverse proxy to the node.js app. All requests would hit port 80, but how they get handled would depend on the domain.

提交回复
热议问题