You can use Node.js with Apache in a reverse proxy scenario. I'd only do
that if you had a need to do it. Otherwise Node.js has great clustering
capabilities built into it. Here's a fairly vanilla Node.js server with
clustering, https, and pid-to-file:
https://kti.news/nodejs-cluster-https-filepid

On spaces.litmis.com I have Nginx fronting Ruby and Node.js web servers. I
needed Nginx in this case so I could have it listen on ports 80/443 and
then forward requests to multiple web servers (Ruby and Node.js).


Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Wed, Dec 14, 2016 at 12:34 PM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
wrote:

How does Node run with Apache? Is it similar to CGI (prob not, I'm
thinking)? Does Apache simply have directive(s) that route requests to
existing Node jobs?



This is a follow-up to this discussion:
http://archive.midrange.com/web400/201609/msg00011.html



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.