I want to run multiple nodejs apps (e.g. www.api.example.net/v1, www.api.example.net/v2) on several subdomains all using SSL - https://www.api.example.net/v1, https://www.api.example.net/v1.
- There is parent website @ www.example.net and setup expressjs app running on port 3000
- I created child domain @ www.api.example.net pointed to /public_html/api and setup expressjs app running on port 3001 (this app cannot run SSL- www.api.example.net:3001)
- Then in child domain i add another expressjs app @ /public_html/api/v1 and also add another @ /public_html/api/v2 (all these apps cannot run SSL - www.api.example.net:3002 and www.api.example.net:3003)
Note: Only one app can run on port 3000 and automatically proxy to port 80 via context