Node.js proxying made simple. Configure proxy middleware with ease for connect, express, browser-sync and many more. All http-proxy options can be used, along with some extra http-proxy-middleware options. Determine which requests should be proxied to the target host. Target host to proxy to. (protocol + host). Providing an alternative way to decide which requests should be proxied; In case you are not able to use the server's path parameter to mount the proxy or when you need more flexibility. For fine-grained control you can use wildcard matching. Glob pattern matching is done by micromatch. For full control you can provide a custom function to determine which requests should be proxied or not. Use the shorthand syntax when verbose configuration is not needed. The context and option.target will be automatically configured when shorthand is used. Options can still be used if needed.

Features

  • Path matching and custom matching
  • Multiple path matching
  • Wildcard path matching
  • Specify whether you want to prepend the target's path to the proxy path
  • Local interface string to bind for outgoing connections
  • Basic authentication i.e. 'user:password' to compute an Authorization header

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow http-proxy-middleware

http-proxy-middleware Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of http-proxy-middleware!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Browsers, TypeScript HTTP Servers

Registered

2021-07-12