Answer the question
In order to leave comments, you need to log in
How to redirect a domain directory to a separate node.js application?
Hello.
There is an application written by node.js / express, at the moment it was running on a sub-domain of a fairly well-known domain: sub.domain.com. Now the task has come to transfer the application to the directory, i.e. the path should be domain.com/sub. The main problem is that the company is quite large, and I don't have access to the domain; redirects will be set up by their team, and my app is hosted on heroku.
I don't even know which way to go. How to test it? Usually I use nginx to manage domains, is it possible to use this behavior in it? Or what is the best way to do it?
What problems can such a configuration entail? Will certificates for the root domain work fine?
Answer the question
In order to leave comments, you need to log in
The main problem is that the company is quite large, and I don't have access to the domain; redirects will be configured by their team
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question