AlphaOptional AlphaagentObject to be passed to http(s).request.
Optional AlphaallowedOptional AlphaallowedOptional AlphaauthBasic authentication i.e. 'user:password' to compute an Authorization header.
Optional AlphaautoRewrites the location host/ port on (301 / 302 / 307 / 308) redirects based on requested host/ port.Default: false.
Optional AlphabufferBuffer
Optional AlphachangeChanges the origin of the host header to the target URL.
Optional Alphacookierewrites domain of set-cookie headers.
Optional Alphacookierewrites path of set-cookie headers. Default: false
Optional AlphacredentialsOptional AlphafollowSpecify whether you want to follow redirects. Default: false
Optional AlphaforwardURL string to be parsed with the url module.
Optional Alphaheadersobject with extra headers to be added to target requests.
Optional AlphahostRewrites the location hostname on (301 / 302 / 307 / 308) redirects, Default: null.
Optional AlphaignoreSpecify whether you want to ignore the proxy path of the incoming request.
Optional AlphalocalLocal interface string to bind for outgoing connections.
Optional AlphalogOptional AlphalogOptional AlphamethodExplicitly set the method type of the ProxyReq
Optional AlphaonOptional AlphaonOptional AlphaonOptional AlphaonOptional AlphaonOptional AlphaonOptional AlphapathOptional AlphaprependSpecify whether you want to prepend the target's path to the proxy path.
Optional Alphapreservespecify whether you want to keep letter case of response header key
Optional AlphaprotocolRewrites the location protocol on (301 / 302 / 307 / 308) redirects to 'http' or 'https'.Default: null.
Optional AlphaproxyTimeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes)
Optional AlphareviveOptional AlpharouterOptional AlphasecureVerify SSL certificate.
Optional AlphaselfIf set to true, none of the webOutgoing passes are called and it's your responsibility to appropriately return the response by listening and acting on the proxyRes event
Optional AlphasslObject to be passed to https.createServer().
Optional AlphatargetURL string to be parsed with the url module.
Optional AlphatimeoutTimeout (in milliseconds) for incoming requests
Optional AlphatoExplicitly specify if we are proxying to another proxy.
Optional AlphawsIf you want to proxy websockets.
Optional AlphaxfwdAdds x- forward headers.
http-proxy-middleware proxy config interface.