Answer the question
In order to leave comments, you need to log in
How to redirect to a subdomain of the django nginx main page?
Please help.
The task is this. I have a django project located on the example.com domain.
There is a main page in the form of a landing page. You need to make sure that the main page opens on the subdomain lp.example.com, and all the rest - on example.com.
Is it possible to solve this only on the nginx side?
Thank you
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question