nginx配置

页面

 #地址页面所在

location / {
root /opt/****-h5/;            
try_files $uri $uri/ /index.html;
index index.html index.htm;
}

  #内网域名

location /client {
proxy_pass http://dev-*****-client.life.****.com/;    
}

    #报错信息

location = /50x.html {          
root html;
}         

 #负载

upstream ***-server-video {
server ***.**.***.3:8080;
}

upstream ***-server-token {
server ***.**.***.3:32006;

server ***.**.***.3:32007;
}

location /recordVideo {
proxy_pass http:// ***-server-token
}
详细见:https://www.cnblogs.com/muhy/p/10528449.html

                              

talk is cheap. show me the code.
原文地址:https://www.cnblogs.com/yushizhang/p/13323124.html