首页 > 其他 > 详细

nginx配置根据x-seesion进行转发

时间:2020-03-02 19:15:58      阅读:63      评论:0      收藏:0      [点我收藏+]
    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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!