Answer the question
In order to leave comments, you need to log in
Nginx push page to subdomain?
Hello.
There is a website site1.ru with a product catalog page: site1.ru/catalog?date_from=&date_to=
How to configure nginx to open a catalog by catalog.site1.ru?
Answer the question
In order to leave comments, you need to log in
server {
server_name catalog.site1.ru;
location / {
pro xy_pass http://site1.ru/catalog?date_from=&date_to=;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question