From d4cb9dad6ce36a823c9e8970e0bb3266d844e536 Mon Sep 17 00:00:00 2001 From: yawnt Date: Sun, 14 Oct 2012 20:25:19 +0200 Subject: [PATCH] [docs] more options --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1cb4ba5..12ed10b 100644 --- a/README.md +++ b/README.md @@ -489,19 +489,20 @@ Http Proxy supports the following options forward: { // options for forward-proxy port: 8000, host: 'staging.com' + }, target : { // options for proxy target - port: 8000, - host: 'localhost' - } + port : 8000, + host : 'localhost', + }; source : { // additional options for websocket proxying host : 'localhost', port : 8000, https: true - } + }, enable : { xforward: true // enables X-Forwarded-For - } - changeOrigin: false // changes the origin of the host header to the target URL + }, + changeOrigin: false, // changes the origin of the host header to the target URL } ```