Like the title, how to redirect to the specified URL when using nginx to configure load balancing, not just the domain name or IP.
upstream site {
server 8.8.8.8:80;
//这里如何替换成 8.8.8.8:80/project 这样精确的URL
}
Seek the guidance of the great God.
It’s the same, just change the IP to domain name