location / {
     root   html;
     index  index.html index.htm;
     if ( $request_uri ~ "^\/xxx")  {
         proxy_pass   http://www.baidu.com;
     }
}

 

相关文章:

  • 2021-06-29
  • 2022-12-23
  • 2021-07-31
  • 2021-08-02
  • 2022-01-22
  • 2021-04-22
  • 2021-06-28
  • 2021-08-03
猜你喜欢
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案