mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
docs: options.headers
This commit is contained in:
parent
302d981dd2
commit
c86ae51bb9
@ -354,6 +354,7 @@ proxyServer.listen(8015);
|
||||
* **hostRewrite**: rewrites the location hostname on (301/302/307/308) redirects.
|
||||
* **autoRewrite**: rewrites the location host/port on (301/302/307/308) redirects based on requested host/port. Default: false.
|
||||
* **protocolRewrite**: rewrites the location protocol on (301/302/307/308) redirects to 'http' or 'https'. Default: null.
|
||||
* **headers**: object with extra headers to be added to target requests.
|
||||
|
||||
**NOTE:**
|
||||
`options.ws` and `options.ssl` are optional.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user