Nimi Wariboko Jr
db4cd8ee2d
Proxy: Add keepalive directive to proxy to set MaxIdleConnsPerHost on transport. Fixes #938
2016-08-01 15:54:07 -07:00
Matthew Holt
57710e8b0d
Revert "Merge pull request #931 from pedronasser/master"
...
This reverts commit 9ea0591951
, reversing
changes made to 2125ae5f99
.
2016-07-21 13:31:43 -06:00
Tw
ca3d23bc70
proxy: fix hyphen issue when parsing target
...
fix issue #948
Signed-off-by: Tw <tw19881113@gmail.com>
2016-07-21 13:56:35 +08:00
Matthew Holt
aede4ccbce
Small changes; mostly comments
2016-07-18 14:32:28 -06:00
Pedro Nasser
6bb1e0c674
improve transparent mode
2016-07-14 18:16:58 -03:00
Pedro Nasser
b58872925a
fixed transparent host and added test case
2016-07-14 15:43:06 -03:00
Pedro Nasser
8d7136fc06
fix transparent host header #916
2016-07-14 15:30:00 -03:00
Matthew Holt
62622eb853
proxy: 'transparent' also sets X-Forwarded-For ( closes #924 )
2016-07-09 17:33:40 -06:00
Matthew Holt
80dd95a495
Change outreq.Host instead of r.Host (possibly related to #874 )
...
Also a few little formatting changes and comments.
2016-06-28 18:19:35 -06:00
David Dyke
07b7c99965
Add timeout to health_check ( #887 )
...
* Add timeout to http get on health_check
* Add new test and up the timeout
* Tests for change to default timeout
* Only call http client once and make options more inline with current caddy directives
2016-06-20 09:49:21 -06:00
David Dyke
b14baf7e20
Add proxy preset: transparent ( #881 )
...
* Add reverse_proxy preset
* Update to 'transparent' preset instead of 'reverse_proxy'
2016-06-14 12:03:30 -06:00
Matthew Holt
416af05a00
Migrating more middleware packages
2016-06-05 21:51:56 -06:00