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
Unrivaled Embedded Payments Solutions | NMI Icon
Unrivaled Embedded Payments Solutions | NMI

For SaaS builders, software companies, ISVs and ISOs who want to embed payments into their tech stack

NMI Payments is an embedded payments solution that lets SaaS platforms, Software companies and ISVs integrate, brand, and manage payment acceptance directly within their software—without becoming a PayFac or building complex infrastructure. As a full-stack processor, acquirer, and technology partner, NMI handles onboarding, compliance, and risk so you can stay focused on growth. The modular, white-label platform supports omnichannel payments, from online, mobile and in-app to in-store and unattended. Choose from full-code, low-code, or no-code integration paths and launch in weeks, not months. Built-in risk tools, flexible monetization, and customizable branding help you scale faster while keeping full control of your experience. With NMI’s developer-first tools, sandbox testing, and modern APIs, you can embed payments quickly and confidently.
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