HOw to run multiple applications in play framework on the same port

前端 未结 3 1468
半阙折子戏
半阙折子戏 2020-12-30 16:30

I am new to Play Framework. I am using Play 2.0.2 and I want to run multiple applications on Play on the same port.

It should be like http://localhost:9000/P

3条回答
  •  孤独总比滥情好
    2020-12-30 17:15

    If you plan to host several applications in the same server or load balance several instances of your application for scalability or fault tolerance, you can use a front-end HTTP server. Note that using a front-end HTTP server will never give you better performance than using Play server directly.You can have a look on this :How to set-up a front-end HTTP server for Play 2 Framework

提交回复
热议问题