nginx反向代理- b域名访问a域名

时间:2020-03-31 12:23:32   收藏:0   阅读:343
server
{
    listen 80;
    server_name A.com;
    location /{
        proxy_pass https://B.com/asi/;
    }
    location ^~/web/ {
        proxy_pass https://B.com/web/;
    }

}    

  

原文:https://www.cnblogs.com/todarcy/p/12603347.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!