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
Skillfully - The future of skills based hiring Icon
Skillfully - The future of skills based hiring

Realistic Workplace Simulations that Show Applicant Skills in Action

Skillfully transforms hiring through AI-powered skill simulations that show you how candidates actually perform before you hire them. Our platform helps companies cut through AI-generated resumes and rehearsed interviews by validating real capabilities in action. Through dynamic job specific simulations and skill-based assessments, companies like Bloomberg and McKinsey have cut screening time by 50% while dramatically improving hire quality.
Learn More
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