digitalmars.D.learn - vibe.d & nginx
- bauss (5/5) Mar 28 2018 I know how to setup nginx to a single vibe.d application, but
- bauss (2/7) Mar 28 2018 Figured it out.
- Adam D. Ruppe (6/8) Mar 28 2018 Multiple nginx configs can live on the same external port, though
- bauss (3/11) Mar 28 2018 Yeah I got it working and figured it out.
I know how to setup nginx to a single vibe.d application, but what if I host multiple vibe.d applications on the same host. How can I forward them using nginx correctly? Can I just create multiple server sections in the config, even on the same port? Or is there something I have to be aware of?
Mar 28 2018
On Wednesday, 28 March 2018 at 19:42:24 UTC, bauss wrote:I know how to setup nginx to a single vibe.d application, but what if I host multiple vibe.d applications on the same host. How can I forward them using nginx correctly? Can I just create multiple server sections in the config, even on the same port? Or is there something I have to be aware of?Figured it out.
Mar 28 2018
On Wednesday, 28 March 2018 at 19:42:24 UTC, bauss wrote:Can I just create multiple server sections in the config, even on the same port? Or is there something I have to be aware of?Multiple nginx configs can live on the same external port, though they will need to be running on different internal ports (so the vibe thing runs on like port 9000 then 9001 then 9002 etc, while the nginx things all run on port 80 and can use the server name or locations to disambiguate)
Mar 28 2018
On Wednesday, 28 March 2018 at 20:34:52 UTC, Adam D. Ruppe wrote:On Wednesday, 28 March 2018 at 19:42:24 UTC, bauss wrote:Yeah I got it working and figured it out. Thank you thoughCan I just create multiple server sections in the config, even on the same port? Or is there something I have to be aware of?Multiple nginx configs can live on the same external port, though they will need to be running on different internal ports (so the vibe thing runs on like port 9000 then 9001 then 9002 etc, while the nginx things all run on port 80 and can use the server name or locations to disambiguate)
Mar 28 2018