Skip to content

Commit d4cb9da

Browse files
committed
[docs] more options
1 parent 4c8e1d9 commit d4cb9da

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -489,19 +489,20 @@ Http Proxy supports the following options
489489
forward: { // options for forward-proxy
490490
port: 8000,
491491
host: 'staging.com'
492+
},
492493
target : { // options for proxy target
493-
port: 8000,
494-
host: 'localhost'
495-
}
494+
port : 8000,
495+
host : 'localhost',
496+
};
496497
source : { // additional options for websocket proxying
497498
host : 'localhost',
498499
port : 8000,
499500
https: true
500-
}
501+
},
501502
enable : {
502503
xforward: true // enables X-Forwarded-For
503-
}
504-
changeOrigin: false // changes the origin of the host header to the target URL
504+
},
505+
changeOrigin: false, // changes the origin of the host header to the target URL
505506
}
506507
```
507508

0 commit comments

Comments
 (0)