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