1034 Commits

Author SHA1 Message Date
Alberto Pose
38864d0167 Created reverse-proxy.js example. 2015-05-18 20:30:43 -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
Jarrett Cruger
9eefd4678e [api] add an ignorePath option if you want to disregard the path of the incoming request when proxying to the target server fixes #758 2014-12-23 13:22:49 -05:00
Jarrett Cruger
9ece52fac4 Merge pull request #756 from PanManAms/patch-1
changed highlighted part - very minor
2014-12-22 12:02:36 -05:00
PanManAms
32aa10dfe2 changed highlighted part - very minor 2014-12-20 15:40:46 +01:00
Charlie Robbins
c82c9ece8a Merge pull request #625 from bkochendorfer/master
Update README.md for benchmarks
2014-12-19 02:01:53 -07:00
Jarrett Cruger
3311106c2c [dist] Version bump. 1.8.1 v1.8.1 2014-12-17 10:11:42 -07:00
Alistair Jones
402ab05734 Pass HTTPS client parameters.
For more detailed control over HTTPS client behaviour, pass through the
parameters listed here:
http://nodejs.org/api/https.html#https_https_request_options_callback

The `rejectUnauthorized` parameter is omitted, because it overlaps with
the existing `secure` parameter:
https://github.com/nodejitsu/node-http-proxy/blob/master/README.md#using-https

Conflicts:
	test/lib-http-proxy-common-test.js
2014-12-17 10:09:29 -07:00
Jarrett Cruger
f0db5b3f70 [dist] Version bump. 1.8.0 v1.8.0 2014-12-17 00:58:17 -07:00
Jarrett Cruger
f30486195c [minor] grammar 2014-12-17 00:57:43 -07:00
Jarrett Cruger
ea0a4ded80 [fix] style spacing wtf 2014-12-17 00:53:51 -07:00
Jorge Leal
8a8a894092 Changed proxyServer and destiny to local variables. 2014-12-17 00:52:41 -07:00