nginx常用配置
增加代理路径
location /api {
proxy_set_header Host $host;
proxy_set_header x-forwarded-for $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://192.168.0.161:8082/taixing/a/api/;
}