Friday 2 June 2017

node express vhosts VS multiple node applications on NGINX server

Is is possible to have an answer "to have and idea" with this info? :

In terms of performance ( basically speed )

QUESTION 1

1: what would be best to set on a nginx server :

Considering domains:

All domains and subdomains might let the user connect with one Authentication using Passport on all domains/subdomains

A) Nginx vhosts for A (one) node app with multiple express vhosts for each domain. (i'm aware in this case I would have to restart all domains when I have to update one site)

B) Nginx vhosts for each node app for each domain.

QUESTION 2

2) Would it change much this performance if also want to use this server for , lets say, two additional ssl api with php ?

Thanks in advance.



via MikRut

No comments:

Post a Comment