Home > Back-end >  How to run my node app alongside my php application
How to run my node app alongside my php application

Time:09-04

I've been playing around with nginx and reverse proxy's to try figure out how to run my nodejs app alongside my php application. The node app is just a simple socket io chat app but i'd like it to run on chat.mydomain.com. Would someone be able to guide me in the right direction?

Thanks

CodePudding user response:

You are looking for NGINX server blocks. You can create one proxy for your php app on yordomain.com and another one for chat.yourtdomain.com which points to your node app.

  • Related