Posts by Marcelo Boeira • 121 points
1 post
-
2
votes1
answer228
viewsA: How to set up Nginx for nodejs and php?
Better you use subdomains, have DNS point to your server and use ngnix as proxy. I’ve used it like this: site1.com -> Node running local -> //127.0.0.1:4000 site2.com -> Node running local…