标签:write http 接口 post ati location 获取 head pre
需求: location /test/ {
if ($http_source = "5"){
proxy_pass http://10.83.74.164:9201;
rewrite ^/test/(.*) /$1 break;
}
if ($http_source != "5"){
proxy_pass http://10.83.74.164:9091;
rewrite ^/test/(.*) /$1 break;
}
}
标签:write http 接口 post ati location 获取 head pre
原文地址:https://blog.51cto.com/gravel/2494616