nginx 反向代理配置多个地址
server {
listen 外网端口;
server_name localhost;
location / {
proxy_pass http://***.***.***.***:81;
}
location /abc/ {
proxy_pass http://***.***.***.***:80;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}