Scroll to navigation

CONFIGURABLE-HTTP-PROXY(1) User Commands CONFIGURABLE-HTTP-PROXY(1)

NAME

configurable-http-proxy - configurable-on-the-fly HTTP Proxy in Node.js

SYNOPSIS

configurable-http-proxy [options]

OPTIONS

output the version number
Public-facing IP of the proxy
Public-facing port of the proxy
SSL key to use, if any
SSL certificate to use, if any
SSL certificate authority, if any
Request SSL certs to authenticate clients
Reject unauthorized SSL connections (only meaningful if --ssl-request-cert is given)
Set specific SSL protocol, e.g. TLSv1_2, SSLv3
`:`-separated ssl cipher list. Default excludes RC4
Allow RC4 cipher for SSL (disabled by default)
SSL Diffie-Helman Parameters pem file, if any
Inward-facing IP for API requests (default: "localhost")
Inward-facing port for API requests (defaults to --port=value+1)
SSL key to use, if any, for API requests
SSL certificate to use, if any, for API requests
SSL certificate authority, if any, for API requests
Request SSL certs to authenticate clients for API requests
Reject unauthorized SSL connections (only meaningful if --api-ssl-request-cert is given)
SSL key to use, if any, for proxy to client requests
SSL certificate to use, if any, for proxy to client requests
SSL certificate authority, if any, for proxy to client requests
Request SSL certs to authenticate clients for API requests
Reject unauthorized SSL connections (only meaningful if --client-ssl-request-cert is given)
Default proxy target (proto://host[:port])
Alternate server for handling proxy errors (proto://host[:port])
Alternate server for handling proxy errors (proto://host[:port])
Redirect HTTP requests on this port to the server on HTTPS
Redirect HTTP requests from --redirect-port to this port
Write our PID to a file
Don't add 'X-forward-' headers to proxied requests
Avoid prepending target paths to proxied requests
Don't include the routing prefix in proxied requests
Rewrite the Location header host/port in redirect responses
Changes the origin of the host header to the target URL
Rewrite the Location header protocol in redirect responses to the specified protocol
Custom header to add to proxied requests. Use same option for multiple headers (--custom-header k1:v1 --custom-header k2:v2) (default: {})
Disable SSL cert verification
Use host routing (host as first level of path)
IP for metrics server (default: "")
Port of metrics server. Defaults to no metrics server
Log level (debug, info, warn, error) (default: "info")
Timeout (in millis) when proxy drops connection for a request.
Timeout (in millis) when proxy receives no response from target.
Define an external storage class. Defaults to in-MemoryStore.
display help for command
November 2022 configurable-http-proxy 4.5.3