Umputun
f9eb8ac012
bump deps
2022-04-16 23:32:07 -05:00
Umputun
bca30df215
update github.com/go-pkgz/rest
2022-04-06 11:41:15 -05:00
Umputun
5b76633089
fix basic auth docs
2022-02-25 13:24:24 -06:00
Umputun
6695079c57
make sure two consecutive Server calls return the same list of servers
2022-02-23 18:07:38 -06:00
Umputun
b4225a4a4d
fix error message
2022-02-15 03:00:34 -06:00
Umputun
19bd58df41
optimize side build, add --platform=$BUILDPLATFORM
2022-02-13 14:30:07 -06:00
Umputun
abc955a247
clarify default routing for docker provider
2022-02-13 14:23:55 -06:00
Umputun
6b0953f0a6
update deps
2022-02-09 23:19:50 -06:00
Umputun
05069cbfaa
revendor with fixed rest lib
2022-01-06 01:48:10 -06:00
Umputun
e2a40bc7a6
update rest library for proper 404 content type
2022-01-06 01:07:50 -06:00
Umputun
a963516783
switch from legacy FS functions to new constructor
2022-01-06 00:16:18 -06:00
Umputun
1315f04ddf
bump deps
2022-01-06 00:16:18 -06:00
Umputun
64f57df860
add support of custom 404 page for assets server
2022-01-06 00:16:18 -06:00
Umputun
075f66825a
update linter and address all lint warns
2021-11-09 12:47:41 -06:00
Umputun
8c59be3612
implement simple on/off basic-auth for all resources
...
lint: err shadowing
extract htpasswd file load and add tests
2021-11-09 12:47:41 -06:00
Umputun
e1caebaa60
typos
2021-09-12 13:07:42 -05:00
Umputun
24610af68b
update docs with new section about headers
2021-09-12 13:01:19 -05:00
Umputun
e60d4f5d1a
fix link to dockerhub in the badge
2021-09-12 12:42:08 -05:00
Umputun
f036f7a8c7
revendor
2021-09-11 14:46:46 -05:00
Umputun
5a3d0db5d9
mod tidy for go 1.17
2021-09-11 14:46:05 -05:00
Umputun
76fa56777f
add ability to drop incoming headers #108
...
In some cases proxy should sanitize incoming headers. --drop-header and $DROP_HEADERS set list of headers (keys) and those headers removed from the request.
2021-09-11 14:38:56 -05:00
Umputun
f908fa6fe5
update deps and revendor
2021-09-11 14:24:09 -05:00
Umputun
c7a2308267
add OverrideHeadersIn and OverrideHeadersOut support
...
This is an attempt to address #108
Instead of dedicated support of header`s removal it allows to return a flag indicating plugin's full control over headers. With this flag set, the conductor won't mix response headers with originals but rather will count on a plugin to provide all the headers.
2021-09-07 01:53:54 -05:00
Umputun
506ded3ad4
add a warning on missing configuration file for file provider
2021-08-28 12:25:07 -05:00
Umputun
f610a631e4
add docs about base image and spa mode
2021-08-28 12:16:38 -05:00
Umputun
d364904dd8
fix flaky tests
2021-08-12 22:31:15 -05:00
Umputun
ee0014e215
trigger site updates on README.md changes
2021-08-11 20:37:51 -05:00
Umputun
2b3ed6f166
remove working dir rewrite
2021-08-11 20:27:50 -05:00
Umputun
362756dd08
fix ci for site dockerfile location
2021-08-11 20:25:03 -05:00
Umputun
2ac1f09c1d
change site deployment to container with reproxy inside
2021-08-11 20:21:24 -05:00
Umputun
646b6dd8b2
typo
2021-07-18 15:30:07 -05:00
Umputun
1024305a5f
adopt nfpms config for goreleaser changes
2021-07-10 03:37:24 -05:00
Umputun
3a230955f0
add info about limiter and more quick examples
2021-07-09 16:49:09 -05:00
Umputun
803a076b79
fix incorrect detection of header's dbl quotes
2021-07-09 15:20:45 -05:00
Umputun
9218ad8bac
simplify unnecessary complicated TestCheckHealth
2021-07-08 17:08:35 -05:00
Umputun
cd41237fa5
lint: simplify empty string check
2021-07-08 16:40:14 -05:00
Umputun
56e040b80b
allow longer time to start proxy in limiter test
2021-07-08 16:32:24 -05:00
Umputun
cbe7f6f84d
drop leading and trailing dbl-quotes from the headers #100
2021-07-08 16:27:42 -05:00
Umputun
207a467960
Header comma ( #101 )
...
* allow comma inside of header env list #100
* set proxy header to manually split version
2021-07-08 02:31:27 -05:00
Umputun
71039681e2
Merge pull request #97
...
* revendor with latest rest lib
* simplify with passThroughHandler
* add deps for throttling
2021-07-03 01:23:50 -05:00
Umputun
2eb78e0e47
fix typo in mock file name
2021-06-29 20:35:50 -05:00
Umputun
ef649f10dc
add a custom static example
2021-06-27 12:59:15 -05:00
Umputun
2d974153f0
add container security text
2021-06-26 12:34:33 -05:00
Umputun
5dcb303615
fix comment typo
2021-06-26 12:12:47 -05:00
Umputun
0a2047fc74
update go-pkgz/rest deps
2021-06-20 18:46:46 -05:00
Umputun
e4385240d4
sign checksum file #95
2021-06-20 18:46:09 -05:00
Umputun
4fce9c412b
don't hide options
2021-06-19 16:35:31 -05:00
Umputun
510b7f1c31
extend readme bullet points
2021-06-12 13:31:47 -05:00
Umputun
13c70eb8e8
add health integration test
2021-06-12 13:26:42 -05:00
Umputun
503f0b6dca
drop regex group in source priority sorting #89
2021-06-08 15:32:35 -05:00
Umputun
22dc84b924
move compose specific to its own section
2021-06-08 12:31:23 -05:00
Umputun
297612e7c4
add test
2021-06-08 03:53:16 -05:00
Umputun
247cf13016
fix static match / without webroot defined
2021-06-08 03:48:37 -05:00
Umputun
3fb723c8b9
fix static match on / url
2021-06-08 03:28:30 -05:00
Umputun
3497599d03
add comments and fix docs
2021-06-08 00:45:16 -05:00
Umputun
d80c18a5b7
add spa docs
2021-06-07 19:16:18 -05:00
Umputun
e44ca79f23
add support of spa to common assets
2021-06-07 19:16:18 -05:00
Umputun
f0049ef7ac
add support of spa-like assets handling
2021-06-07 19:16:18 -05:00
Umputun
687e78e87b
drop attempt to parse form in limiter, conflicts with form body
2021-06-07 16:20:23 -05:00
Umputun
fb57a6bb45
remove commented code
2021-06-07 14:54:31 -05:00
Umputun
f8f5871411
quick attempt to de-prioritize assets rules
2021-06-07 14:54:09 -05:00
Umputun
15616dfa57
longer sleep for flaky test
2021-06-06 18:20:38 -05:00
Umputun
aea74d717f
Redirect ( #87 )
...
* add @code redirect prefix
* add proxy handling for redirects #86
* add info about redirects
2021-06-06 18:13:59 -05:00
Umputun
680d988d42
change url value in final proxy to const usage
2021-06-01 04:00:38 -05:00
Umputun
56cd1205a1
clean usage of plugin context in proxy
2021-06-01 03:59:23 -05:00
Umputun
b3d222a60a
quick and dirty fix for assets rules regression
2021-06-01 03:50:20 -05:00
Umputun
0b3e1d9062
warn logging on destination parser
2021-06-01 03:34:50 -05:00
Umputun
3efcd15747
add warns on static path issues
2021-06-01 03:25:35 -05:00
Umputun
7139c57766
RPC plugins support ( #85 )
...
* wip
* resolve merge artifacts
* full coverage for conductor
* wire plugin conductor to main and proxy
* wip, with separate match handler
* split matching logic with another handler, add initial docs
* move parts of proxy to handlers, add tests
* add headers in to be sent to proxied url
* merged from master
* add example with docker compose
* supress excesive debug reporting 0-9 disabled in docker
* add plugin tests
* randomize test port
* lint: minor warns
* lint: err shadow
2021-06-01 02:56:39 -05:00
Umputun
bd200a9c0a
flaky main test
2021-05-29 13:40:14 -05:00
Umputun
a4b09e6697
update docs and change make docker build to plain progress
2021-05-28 16:28:33 -05:00
Umputun
81e8f4a029
update docs and examples
2021-05-28 16:11:31 -05:00
Umputun
282b4b268c
add lb selector
2021-05-28 16:11:16 -05:00
Umputun
0217410207
typos
2021-05-28 15:27:16 -05:00
Umputun
556a34f1fb
allow reproxy.server to be default for numeric rules
2021-05-26 01:45:42 -05:00
Umputun
e092c7e989
allow docker rules to use external destinations
2021-05-26 00:17:45 -05:00
Umputun
1c1f9d1c3c
Docker multi routes ( #80 )
...
* support reproxy.N.something labels for docker #78
* lint: suppress false positive
* update linter in ci
* update readme
* add test for failed container parse
2021-05-25 23:48:22 -05:00
Umputun
bc9ec9184a
add info about compose issue with $ substitution
2021-05-25 12:30:02 -05:00
Umputun
ec300029b6
add Hijacker interface to metrics middleware response writer. Fix #79
2021-05-22 12:30:56 -05:00
Umputun
971e77b5d3
eliminate metrics middleware hit if mgmt disabled
2021-05-22 10:44:21 -05:00
Umputun
f043a91dca
minor docs improvements
2021-05-20 18:32:10 -05:00
Umputun
7e8dca4ccc
allow skipping ping param in static provider
2021-05-20 13:14:37 -05:00
Umputun
0c1218b3eb
strip fqdn spaces
2021-05-19 13:39:49 -05:00
Umputun
52e9e7a738
add more time intervals to file event tests
2021-05-18 02:31:36 -05:00
Umputun
095f4d7102
Multi match ( #74 )
...
* discovery support for multiple matches
* switch proxy matcher usage, add random selection
* fix multi-match logic
* pass match picker func
* simplify rand picker
* update health params and docs
* fix early termination on discovery multi-match
* add grouping of sorted matches in sorted result
* add mention of live check to readme
2021-05-16 18:34:51 -05:00
Umputun
04a65d61bf
typo
2021-05-15 14:38:56 -05:00
Umputun
f6f26a4807
add log for enabled options
2021-05-14 22:14:49 -05:00
Umputun
3dd986ba16
lint: silly thing
2021-05-14 22:03:16 -05:00
Umputun
b79a9faf3c
support size units #71
2021-05-14 22:01:27 -05:00
Umputun
aee7e8a57e
revert to stable go-pgz/rest, switch size limiter to local implementation #71
2021-05-14 16:17:52 -05:00
Umputun
137cf692c4
switch to master go-pkgz/rest #71
2021-05-14 13:47:44 -05:00
Umputun
c3bb113305
add info about 0 max
2021-05-14 03:29:55 -05:00
Umputun
c3e7814d33
fix metrics doc link
2021-05-13 22:25:14 -05:00
Umputun
d982796e58
simplify consul client a little bit
2021-05-13 02:00:13 -05:00
Umputun
144902dd2f
update readme
2021-05-13 01:49:18 -05:00
Umputun
d438f89b1a
update readme
2021-05-13 01:45:54 -05:00
Umputun
a93bd40f8a
treat 0 max request size limit as unlimited
2021-05-12 21:54:41 -05:00
Umputun
dc39e2d090
bump lint version compat
2021-05-12 03:28:10 -05:00
Umputun
25ee73d8d6
set X-Forwarded-Host to orid host, drop X-Origin-Host #67
2021-05-10 03:50:00 -05:00
Umputun
a73a16c12b
wait till fqdn avail for ssl auto #63
2021-05-05 01:41:23 -05:00