- 03 Jan, 2012 21 commits
-
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
Modifications: * make client connect to `PROXY_PORT` instead of `PORT`
-
Maciej Małecki authored
-
Maciej Małecki authored
-
Maciej Małecki authored
Modifications: * add `PROXY_PORT` constant
-
Maciej Małecki authored
-
Maciej Małecki authored
Previous approach failed in case of routing table like: { 'domain.com': 'localhost:9000', 'a.domain.com': 'localhost:9001' } without `hostnameOnly`. When routing request to `a.domain.com`, `RegExp` matched first entry (`domain.com`) and returned it.
-
indexzero authored
Conflicts: lib/node-http-proxy/http-proxy.js
-
Maciej Małecki authored
-
Maciej Małecki authored
Instead, just perform a request.
-
Maciej Małecki authored
-
Ken "Elf" Mathieu Sternberg authored
This handles the case where a back-end web application such as Django or Rails issues a redirect and automatically decorates the URL with the protocol with which it was addressed. If the back-ends are internal and HTTP-only, then they'll issue a URL with 'http://' as the protocol. This must be fixed before leaving the proxy. This also handles the (unusual) case where a back-end speaks only https://, but the user is deploying node-http-proxy to make that service available to non-SSL capable browsers. Works only with 301 and 302 codes.
-
Ken "Elf" Mathieu Sternberg authored
error-prone in-line method. _getKey() will look for options.target as well as options.host:options.port, and so is useful for a segmented proxy server where the destination proxies are not constructed before first references.
-
Samyak Bhuta authored
-
Charlie McConnell authored
This reverts commit 30dac898.
-
- 01 Dec, 2011 1 commit
-
-
Cédric de Saint Martin authored
-
- 22 Nov, 2011 1 commit
-
-
Charlie McConnell authored
-
- 17 Nov, 2011 5 commits
-
-
Charlie McConnell authored
-
Max Ogden authored
-
Fabian Jakobs authored
if a callback but no static proxy is defined and no routes are provided then handlers.length is 1. However the upgrade event is still automagically attached in spite of having an explicit callback.
-
koichik authored
-
- 16 Nov, 2011 1 commit
-
-
Camilo Aguilar authored
-
- 14 Nov, 2011 2 commits
-
-
Dominic Tarr authored
-
Dominic Tarr authored
-
- 11 Nov, 2011 2 commits
-
-
Dominic Tarr authored
-
Dominic Tarr authored
-
- 10 Nov, 2011 5 commits
-
-
Dominic Tarr authored
-
bradleymeck authored
-
Dominic Tarr authored
-
Dominic Tarr authored
-
Dominic Tarr authored
-
- 08 Nov, 2011 1 commit
-
-
Maciej Małecki authored
-
- 22 Oct, 2011 1 commit
-
-
bradleymeck authored
-