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:
- http://example1.com
- https://example2.com
- https://example3.com
- https://example4.com
- https://mailserver.example3.com
- https://mailserver.example4.com2
- https://sub1.example2.com
- https://sub2.example2.com
- https://sub3.example2.com
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.