I
I
Ivan Vishnevsky2017-04-22 07:55:54
linux
Ivan Vishnevsky, 2017-04-22 07:55:54

Node.js or Node.js+nginx?

The question is - now I'm studying nodeJS, so far static sites, respectively, nodeJS just hangs as a daemon and processes requests on port 8000, while Apache gives pages. However, I want to serve dynamic pages as well, and, as far as I understand, it would be more correct to switch to nginx and connect it to the node, and not mess around with static routing in it, right?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2017-04-22
@forgetable

as far as I understand, it would be more correct to switch to nginx and connect it to the node, and not mess around with static routing in it, is that so
So.

R
rustler2000, 2017-04-22
@rustler2000

Addition to previous answer - https://expressjs.com/en/advanced/best-practice-pe...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question