Commit Graph

72 Commits

Author SHA1 Message Date
Umputun
6dcc2fa719 flip signature, disabled by default 2021-04-13 14:08:15 -05:00
Umputun
510b29c3ec wrap proxy internal err log 2021-04-13 14:03:25 -05:00
Umputun
9bcb9de0d4 filter /ping from stdout logging 2021-04-13 13:04:40 -05:00
Umputun
d8309ab6f2 allow optional stdout logging 2021-04-13 12:45:49 -05:00
Umputun
5479063f4e limit health check concurrency 2021-04-13 12:34:34 -05:00
Umputun
f6491246f8 support reproxy.port #21
defines which of exposed ports will be used for the destination in case if multiple ports exposed from the container
2021-04-13 12:01:54 -05:00
Umputun
af02a41147 add primitive priority order for discovered containers 2021-04-13 01:52:12 -05:00
Umputun
26647571af lint: simplify health and ping path check 2021-04-13 01:28:22 -05:00
Umputun
dea0e5c742 add details to health error message 2021-04-13 01:24:57 -05:00
Umputun
ffd8afad07 change both /health and /ping to exact url match
needed to prevent conflict with proxied services
implementing /health or /ping
2021-04-13 00:52:06 -05:00
Umputun
64fd98a130 all timeouts are customizable #5 2021-04-12 21:54:59 -05:00
Umputun
06a6d595b3 change docker provider defaults
skip without --docker.auto all containers without reproxy.* label
2021-04-12 21:26:31 -05:00
Umputun
02c87ffc7a support multiple servers in reproxy.server label #20 2021-04-12 03:13:25 -05:00
Umputun
a20abd0140 change docker default and add autoapi param #20 2021-04-12 02:57:13 -05:00
Umputun
1ac2f23504 adjust tests for delayed events 2021-04-12 02:29:17 -05:00
Umputun
0e5998d540 add error logging on failed list 2021-04-12 02:11:43 -05:00
Umputun
8b3889d4e5 switch events to provider id, delay repsponse 2021-04-12 02:09:34 -05:00
Umputun
a79cd3c7a4 correct providers order 2021-04-12 02:07:35 -05:00
Umputun
9c659afb0f drop separate ID method from providers, fill directly 2021-04-11 23:41:23 -05:00
Umputun
5a98338f84 fix separator conflict between env and static rule parts 2021-04-11 23:18:06 -05:00
Umputun
3bf88c5af3 allow @ substitution in addtion to $ in destination 2021-04-11 21:01:52 -05:00
Umputun
dfc101cb85 enforce servers sort 2021-04-11 14:42:16 -05:00
Umputun
46d83f235e don't run discovery if no providers 2021-04-11 14:21:58 -05:00
Umputun
ef09f8ace3 Merge pull request #15 from daulet/master
Speed up route lookup by grouping mappers by server names
2021-04-11 13:52:46 -05:00
Daulet Zhanguzin
957916fd6b Speed up route lookup by grouping mappers by server names 2021-04-11 10:18:57 +01:00
Umputun
9462170cd1 support reproxy.enabled label, enforce this label for reproxy container itself #16 2021-04-11 01:37:45 -05:00
Umputun
be20b0b636 allow use of assets server without any provider 2021-04-10 14:34:28 -05:00
Daulet Zhanguzin
936a0815a0 Fix missed file update if consumer of events is busy, e.g. waiting on a lock 2021-04-10 19:59:50 +01:00
Daulet Zhanguzin
5d9283be34 Add a test to reproduce missed file update 2021-04-10 19:59:50 +01:00
Umputun
7da8ee593e add reference to examples 2021-04-10 13:18:28 -05:00
Umputun
6bcb791bc5 fix ping path from docker labels, clarify docs about path (not url) for the destination 2021-04-10 02:44:40 -05:00
Umputun
b0dcad19fc disable network check by default 2021-04-10 02:08:26 -05:00
Umputun
a3d35bf7a9 normalize signatureHandler to be similar to other handlers 2021-04-09 21:01:46 -05:00
Umputun
a4323dcdb2 consolidate transport with director 2021-04-09 20:55:21 -05:00
Umputun
bd08c91889 don't use default transport for proxy, causing race with tests 2021-04-09 20:54:02 -05:00
Umputun
6508c95eae update deps 2021-04-09 15:31:14 -05:00
Umputun
fe7992a972 drop compress, switch to gorilla 2021-04-09 15:26:06 -05:00
Umputun
9107b41590 lint: err shadow 2021-04-09 15:22:21 -05:00
Umputun
3761364f6e fix unsafe close 2021-04-09 15:19:11 -05:00
Umputun
9029b4d60f lint: multiple warns cleanup 2021-04-09 15:05:22 -05:00
Umputun
220f966720 switch gzip middleware 2021-04-09 13:50:01 -05:00
Umputun
cdbe5d6dd7 don't autofill servers if FQDNs passed in 2021-04-09 02:48:18 -05:00
Umputun
6ab7ae8225 fix missing fqdn param and default for redirect port 2021-04-09 02:28:13 -05:00
Umputun
8733d84ef6 support extension of rules 2021-04-08 23:27:57 -05:00
Umputun
c18d0e8cb7 change docker default network to bridge 2021-04-08 22:07:40 -05:00
Umputun
44340eec77 fix health error report 2021-04-08 22:07:15 -05:00
Umputun
cdbf455d65 simplify docker events with filters 2021-04-08 22:06:16 -05:00
Umputun
e7d08008bf fix comments, more tests 2021-04-07 21:52:14 -05:00
Umputun
7004aa83f2 fix flaky test 2021-04-06 23:59:23 -05:00
Umputun
af1cd3ae46 back to 1.15 compat 2021-04-06 23:50:04 -05:00