Has anyone been successful deploying a node (express) app with Amazon OpsWorks?

前端 未结 5 1829
生来不讨喜
生来不讨喜 2021-02-05 14:40

As the title suggested, I\'ve been playing around deploying apps with Amazons new OpsWorks management system, however I haven\'t been able to figure out how to get the node serv

5条回答
  •  执念已碎
    2021-02-05 15:13

    Just copying the AWS OpsWorks page for configuring the node.js app:

    "By default we expect your Node.js app to listen on port 80. Furthermore, the file we pass to node has to be named "server.js" and should be located in your app's root directory."

    Regards.

提交回复
热议问题