I have this problem that remain unsolved until now. There is mod-php in apache to manage php, but I don't know how to handle node serve like mod-php in apache does. do you have any suggestions?
For now I create increment port from 3000 to 300X and then proxied to port 80 to apache, (in my server there's multiple node server running proxied to apache) and i think it's not effective
I have this problem that remain unsolved until now. There is mod-php in apache to manage php, but I don't know how to handle node serve like mod-php in apache does. do you have any suggestions?
For now I create increment port from 3000 to 300X and then proxied to port 80 to apache, (in my server there's multiple node server running proxied to apache) and i think it's not effective
I think for node, i would consider PM2.
Its a process manager for Node
PM2 Process Manager
This will auto detect whatever number of CPUs you have and will manage it accordance to it. You can customize but gotto refer the docs.
I think from PHP to node was a hard shift, but not i see not that harder, its like best of both worlds, i suppose.
thank you for explanation, do you have idea for handling port?
I think if you start it with a your.json file, you could kinda hack around like this.
your_file.json
Let me know, what you find.
oh i see, that was great idea. Thank you!