📜  nginx rewrite proxy_pass - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:43.410000             🧑  作者: Mango

代码示例1
location  /foo {
  rewrite /foo/(.*) /$1  break;
  proxy_pass         http://localhost:3200;
  proxy_redirect     off;
  proxy_set_header   Host $host;
}