How to redirect to exact URL when using nginx for load balancing configuration
世界只因有你
世界只因有你 2017-05-16 17:13:20
0
1
464

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.

世界只因有你
世界只因有你

reply all(1)
世界只因有你

It’s the same, just change the IP to domain name

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!