Thanks for the feedback. My nginx installation does not contain sites-enabled folder but it contains conf.d, so I added my subdomain conf in that folder as shown in the original post. Moreover is the root definition required? Because nginx has to just proxy the request (on a subdomain) to nodejs...
Hello
I am having trouble setting up the following configuration.
domain.com - nginx (reverse proxy) -> Apache ---- This works, no issues
myapp.domain.com - nginx (reverse proxy) -> Nodejs ---- This setup doesn't work.
Here are the things which I tried.
My app works as subfolder (by adding...