高山_流水
海阔凭鱼跃,天高任鸟飞

通过修改以下地址

 C:\WINDOWS\system32\drivers\etc\hosts

加进你自己的如:

192.168.1.101  www.helloworld.com

配置nginx代理url

nginx/conf/nginx.conf

copy一份location  eg:

 location ^~/spbservice/{
     
   rewrite ^/spbservice/(.*)$ /$1 break;
  
      proxy_pass  http://localhost:7070;
        }

 

posted on 2017-04-24 10:06  高山_流水  阅读(3577)  评论(0编辑  收藏  举报