Answers for "nginx rewrite proxy_pass"

1

nginx rewrite proxy_pass

location  /foo {
  rewrite /foo/(.*) /$1  break;
  proxy_pass         http://localhost:3200;
  proxy_redirect     off;
  proxy_set_header   Host $host;
}
Posted by: Guest on August-20-2021

Browse Popular Code Answers by Language