On Jun 8, 2015, at 10:20 PM, Jason Nunnelley wrote:

> I'm looking for best practices multi-app, multi-domain node server
> configuration. Imagine like a LAMP server with 5 different apps
> running on 5 different domains. How would I build a similar Node
> configuration?

Probably, you would build 5 separate node apps, running on different local 
ports. Then, you would configure nginx as a front-end, with separate name-based 
virtual hosts for each domain, configured to reverse-proxy the requests to the 
appropriate node app's port number.


-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/DE006079-549F-4110-9442-B5D5C3466678%40ryandesign.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to