nginx通过url跳转到另外的一个url上

  

#用户没人;
worker_processes 1;

  

事件{
worker_connections 1024;
}

  

http {
sendfile;
服务器{
听7080;
server_name localhost;

  
 <代码>位置^ ~/演示{
  proxy_pass http://127.0.0.1/;
  }
  位置/{
  根html;
  指数指数。html你;
  }
  } 
  

}

nginx通过url跳转到另外的一个url上