Answer the question
In order to leave comments, you need to log in
How to send requests to domain.com - the first server, domain.com/other/ the second server?
Good morning.
SEO specialists set me a very interesting task.
Now here's how things are:
First server:
CMS site on the domain.com
Second server:
other.domain.com domain on the second server.
Now SEOs are asking me to take out a sub-domain and do this domain.com/other The
question is: how can I send requests from domain.com/other to the second domain?
Answer the question
In order to leave comments, you need to log in
Alexey Romanenko , the only way, right? there are no other options?
server {
server_name domain.com
location /other/ {
proxy_pass http://other.domain.com/;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question