location ^~ /atssa/ { if ($arg_version = 5800) { proxy_pass http://10.0.0.100:6500; } if ($cookie_xAppInfo ~ ^5800) { proxy_pass http://10.0.0.100:6500; }
nginx配置根据x-seesion进行转发
原文:https://www.cnblogs.com/kaishirenshi/p/12396932.html