1044 Commits

Author SHA1 Message Date
Arttu Liimola
3d2350c54f Replaced Object.keys().map with for in loop. 2015-08-30 17:16:42 -04:00
Arttu Liimola
ca73208749 Websocket key was unnecessary long. 2015-08-30 17:16:36 -04:00
Arttu Liimola
da674ec4df Modify the set-cookie header fix to work with node 0.10.x. 2015-08-30 17:16:07 -04:00
Arttu Liimola
855cebdac4 Added websocket set-cookie headers test 2015-08-30 17:16:00 -04:00
Arttu Liimola
8bfd90c4d9 Use raw headers instead parsed.
Set-Cookie headers are parsed into single header with cookies in array.
This messes up the Set-Cookie headers, because browser receives multiple Set-Cookie headers as single with cookies separted with comma.
2015-08-30 17:15:54 -04:00
Charlie Robbins
931f73dc98 Merge pull request #870 from justsml/patch-1
Update gzip-middleware.js
2015-08-24 12:38:27 -07:00
Daniel Levy
349b843731 Update gzip-middleware.js
Punctuation
2015-08-24 13:23:53 -06:00
Charlie Robbins
2e3eb0950d Merge pull request #863 from stuartpb/patch-1
Fix broken option list indentation
2015-08-14 12:30:42 -07:00
Stuart P. Bentley
1f4fccd2c6 Fix broken option list indentation 2015-08-14 09:02:50 -07:00
Jarrett Cruger
ecbba1a008 Merge pull request #852 from jpatters/patch-1
Added missing configuration options
2015-07-09 09:55:36 -04:00
Jordan
fe3dd8363f Added missing configuration options
Added missing config options for httpProxy.createProxyServer. Updated to include all options listed in `lib/http-proxy.js`
Addresses nodejitsu/node-http-proxy#851
2015-07-09 08:03:23 -03:00
Jarrett Cruger
76051032e7 Merge pull request #823 from montogeek/patch-1
Added installation instructions
2015-05-13 10:24:09 -07:00
Fernando Montoya
7e82a04a16 Added installation instructions 2015-05-12 21:38:05 -05:00
Jarrett Cruger
1912b62ddb Merge pull request #817 from klammbueddel/master
fixes comment
2015-05-09 14:23:03 -07:00
klammbueddel
3f997b9289 fixes comment 2015-04-30 10:19:40 +02:00
Jarrett Cruger
7e6c66a7e4 [dist] Version bump. 1.11.1 v1.11.1 2015-04-22 11:09:36 -04:00
Jarrett Cruger
d26ef56e1b [fix] dont use bind in the one case we do 2015-04-22 11:09:05 -04:00
Jarrett Cruger
607f96c00c [dist] update to new version of EE3 2015-04-22 11:07:24 -04:00
Jarrett Cruger
18c77cafc7 [fix] use the main export for EE3 2015-04-22 11:07:13 -04:00
Jarrett Cruger
934e6c4d54 [dist] Version bump. 1.11.0 v1.11.0 2015-04-20 16:48:14 -04:00
Jarrett Cruger
0db8f195d7 Merge pull request #759 from nodejitsu/ignore-path
[api] add an ignorePath option if you want to disregard the path of the ...
2015-04-20 16:47:27 -04:00
Jarrett Cruger
0bd446c680 [dist] Version bump. 1.10.1 v1.10.1 2015-04-02 12:41:02 -04:00
Jarrett Cruger
a6ae6c4997 [ci] add 0.12 and iojs to travis 2015-04-02 12:32:08 -04:00
Jarrett Cruger
1b89bc9a76 [dist] add semver and normalize package.json with --save-dev 2015-04-02 12:31:17 -04:00
Jarrett Cruger
c6dfb04a67 [fix] properly support iojs with test checking for HTTPS 2015-04-02 12:30:55 -04:00
Jarrett Cruger
6201ac76f7 Merge pull request #799 from F4-Group/fix_https
Fix default port detection with node 0.12.x
2015-04-02 12:05:03 -04:00
Jeremy Judeaux
5f14bcaa70 fix protocol and default port detection on node 0.12.x, compatible with 0.10.x 2015-04-02 14:23:58 +02:00
Jeremy Judeaux
0ee314c436 fix expected error message when node 0.12.x 2015-04-02 14:22:26 +02:00
Jeremy Judeaux
c33d1616cd force cipher AES128-GCM-SHA256 in https tests 2015-04-02 14:11:45 +02:00
Jarrett Cruger
1dabda241f [dist] Version bump. 1.10.0 v1.10.0 2015-04-01 12:24:26 -04:00
Jarrett Cruger
5a969d077b Merge pull request #787 from mokafive/master
Fixes / additions to URL rewriting
2015-04-01 12:20:37 -04:00
Jarrett Cruger
21b30b754d [dist] Version bump. 1.9.1 v1.9.1 2015-04-01 12:09:42 -04:00
Jarrett Cruger
aa8f3e9a6e Merge pull request #798 from damonmcminn/master
Fix #747
2015-04-01 11:07:42 -04:00
Damon McMinn
ab37a224aa Fix https://github.com/nodejitsu/node-http-proxy/issues/747 2015-04-01 13:19:03 +01:00
Damon McMinn
d145152655 Add test for https://github.com/nodejitsu/node-http-proxy/issues/747 2015-04-01 13:14:11 +01:00
Jarrett Cruger
87a92a7280 [dist] Version bump. 1.9.0 v1.9.0 2015-03-12 18:59:32 -04:00
Jarrett Cruger
507f818df5 Merge pull request #792 from ashubham/master
Adding the nodejs0.12 auth option
2015-03-12 18:58:06 -04:00
ashubham
e907d7bb2a end of file line space 2015-03-12 15:17:26 -07:00
ashubham
7298510e91 space instead of tabs 2015-03-12 15:16:17 -07:00
ashubham
63c9262df5 space instead of tabs 2015-03-12 15:14:49 -07:00
ashubham
ff1626f071 added auth header test 2015-03-12 15:12:53 -07:00
ashubham
df158bfc53 added auth header test 2015-03-12 15:11:56 -07:00
ashubham
f55ffa356a auth header added tests 2015-03-12 13:40:49 -07:00
ashubham
ab5c3e5c81 auth header added 2015-03-12 13:15:06 -07:00
Jarrett Cruger
245d73ae6c Merge pull request #789 from feross/master
fix "x-forwarded-proto" in node 0.12 and iojs
2015-03-11 21:07:38 -04:00
Feross Aboukhadijeh
6d074eff47 fix "x-forwarded-proto" in node 0.12 and iojs
The way to detect TLSSockets in node 0.12 and iojs has changed. You can
just check `socket.encrypted` now :)

Fixes #772
2015-03-11 00:33:34 -07:00
Matt Hauck
26029ba7ac only rewrite redirect urls when it matches target
if functioning as a reverse proxy for host1.foo.com,
with a backend target of backend.foo.com:8080, the
node proxy should only rewrite the redirect if it is
a redirect to somewhere on backend.foo.com:8080
2015-03-09 13:17:52 -07:00
Matt Hauck
14415a5074 refactor some tests for greater readability 2015-03-09 11:49:28 -07:00
Matt Hauck
62e4b75101 Merge pull request #1 from matthauck/master
Add support for auto host rewriting and protocol rewriting
2015-02-05 12:33:10 -08:00
Matt Hauck
7f2f3ac35c Add support for auto host rewriting and protocol rewriting
auto host rewriting allows rewriting to work as expected in most
cases without extra cumbersome configuration

protocol rewriting allows node-http-proxy to be able to listen
over HTTPS and properly reverse-proxy to sites running over HTTP
(to avoid doing SSL twice)
2015-02-05 12:17:26 -08:00