1.代理
- 真实服务地址:
10.104.117.124:8080/tspdk/vehicle/notify/kss/root/certificate/done - nginx服务域名:
intuat.tsp.borgward.com.cn - 最终请求路径:
http://intuat.tsp.borgward.com.cn/tspdk/vehicle/notify/kss/root/certificate/done
2.负载
upstream upstream_name{ #upstream匹配
server 192.168.0.28:8001;
server 192.168.0.28:8002;
}
server {
listen 8080;
server_name localhost;
location / {
proxy_pass http://upstream_name;
}
}