10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8e1d9 commit d4cb9daCopy full SHA for d4cb9da
README.md
@@ -489,19 +489,20 @@ Http Proxy supports the following options
489
forward: { // options for forward-proxy
490
port: 8000,
491
host: 'staging.com'
492
+ },
493
target : { // options for proxy target
- port: 8000,
494
- host: 'localhost'
495
- }
+ port : 8000,
+ host : 'localhost',
496
+ };
497
source : { // additional options for websocket proxying
498
host : 'localhost',
499
port : 8000,
500
https: true
501
502
enable : {
503
xforward: true // enables X-Forwarded-For
504
- changeOrigin: false // changes the origin of the host header to the target URL
505
+ changeOrigin: false, // changes the origin of the host header to the target URL
506
}
507
```
508
0 commit comments