4
My site is made "totally" in PHP and I used Node.js for the real-time chat part. I’m using the services of AWS and I came up with a big question:
I can install Node.js in the same PHP instance (apache) or create an instance for Node separately?
4
My site is made "totally" in PHP and I used Node.js for the real-time chat part. I’m using the services of AWS and I came up with a big question:
I can install Node.js in the same PHP instance (apache) or create an instance for Node separately?
5
Yes you can, Apache by default uses port 80 and you can set another port to Nodejs as 8888.
3
According to Eduardo’s answer, you can use APACHE together with Nodejs, in separate ports. I advise you to put in front of Nodejs APACHE or NGINX as a reverse proxy, so it is only necessary to let released the standard HTTP port (80 or 443).
Reverse proxy on NGINX
http://www.devmedia.com.br/usando-nginx-como-proxy-reverso-e-diminuindo-o-consumo-do-servidor/21461
Reverse proxy in APACHE
https://www.vivaolinux.com.br/artigo/Proxy-Reverso-com-Apache
Browser other questions tagged php node.js apache aws ec2
You are not signed in. Login or sign up in order to post.