1
0
mirror of https://github.com/umputun/reproxy.git synced 2025-06-30 22:13:42 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
06e78b81d4 extend no match WARN 2021-04-28 14:47:53 -05:00
1ff45cc2ca add integration test over https 2021-04-27 02:50:45 -05:00
a4cffbe922 Mime cache (#59)
* support different caching duration for different mime types #58

* extract main code to run func

* lint: err shadowing
2021-04-26 18:51:48 -05:00
c590c3246d Assets cache (#54)
* add caching control for assets
* regen site
2021-04-23 02:02:36 -05:00
f16d92b774 lint: minor warns 2021-04-20 19:22:46 -05:00
8ea0052228 implement basic support of metrics via mgmt server #35 2021-04-20 19:22:46 -05:00
bbbd24dd53 fix missing url.Host forward 2021-04-17 13:11:10 -05:00
ee4f8919e1 allow docker to provide static with proxy at the same time #27 2021-04-17 02:17:23 -05:00
8cf4b9063d Multiple static location (#36)
* add isStatic flag to mapper, implement for file and static providers

* handle static match response as a special case

* move assets conversion to load time

* rename static to assets everywhere for consistency

* don't overwride asset param in url mapper

* add documentation about assets mode

* add tests
2021-04-16 02:49:00 -05:00
66610ef491 Replaced github.com/pkg/errors with stdlib errors wrap 2021-04-14 11:44:20 -05:00
c5200e0a1a Fixing type error in SSL Static mode 2021-04-14 11:08:17 -05:00
1606e56d82 fix proxy headers, should affect response not the request 2021-04-13 14:33:54 -05:00
6dcc2fa719 flip signature, disabled by default 2021-04-13 14:08:15 -05:00
510b29c3ec wrap proxy internal err log 2021-04-13 14:03:25 -05:00
9bcb9de0d4 filter /ping from stdout logging 2021-04-13 13:04:40 -05:00
d8309ab6f2 allow optional stdout logging 2021-04-13 12:45:49 -05:00
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
64fd98a130 all timeouts are customizable #5 2021-04-12 21:54:59 -05:00
a3d35bf7a9 normalize signatureHandler to be similar to other handlers 2021-04-09 21:01:46 -05:00
a4323dcdb2 consolidate transport with director 2021-04-09 20:55:21 -05:00
bd08c91889 don't use default transport for proxy, causing race with tests 2021-04-09 20:54:02 -05:00
fe7992a972 drop compress, switch to gorilla 2021-04-09 15:26:06 -05:00
9029b4d60f lint: multiple warns cleanup 2021-04-09 15:05:22 -05:00
220f966720 switch gzip middleware 2021-04-09 13:50:01 -05:00
cdbe5d6dd7 don't autofill servers if FQDNs passed in 2021-04-09 02:48:18 -05:00
cfb8d8df14 add-nosignature mode, rename leftovers from dpx 2021-04-06 23:17:50 -05:00
a27b718d59 missing vendor 2021-04-05 22:14:23 -05:00
6e31a87a40 add access log 2021-04-05 22:12:06 -05:00
225590da2c add ping url and health check 2021-04-05 03:37:28 -05:00
dfa0d51b31 add Servers list and fill FQDNs 2021-04-04 15:55:06 -05:00
4e28e69997 add X-Real-IP to proxied request 2021-04-04 02:57:34 -05:00
7a263fed42 bump go-pkgz/rest 2021-04-04 02:39:42 -05:00
d45415080a allow custom https and http ports 2021-04-03 01:20:24 -05:00
a316070eb6 add ssl suport 2021-04-03 00:22:54 -05:00
96e5cd2e6b WIP: add 3 types of server 2021-04-02 03:13:49 -05:00
190b194d88 support multiple servers 2021-04-02 00:07:36 -05:00
0dcb927e01 add headers mw 2021-04-01 02:53:42 -05:00
8a7b73f41f initial version #1 2021-04-01 02:37:28 -05:00