1
0
mirror of https://github.com/umputun/reproxy.git synced 2024-11-24 08:12:31 +02:00
Commit Graph

105 Commits

Author SHA1 Message Date
Ivan Dudin
2cd32609e9 fix typo 2023-01-28 12:41:46 -06:00
Ivan Dudin
3e57ed8232 Update README.md 2023-01-28 12:41:46 -06:00
Umputun
a4b82174c9 add info about 0 timout 2022-08-29 17:22:46 -05:00
Umputun
3450148907 move docs for caching to subsection 2022-08-09 22:42:58 -05:00
Umputun
77d82d9a0f switch site to mkdocs material 2022-08-07 15:21:34 -05:00
Umputun
5b76633089 fix basic auth docs 2022-02-25 13:24:24 -06:00
Umputun
abc955a247 clarify default routing for docker provider 2022-02-13 14:23:55 -06:00
Umputun
64f57df860 add support of custom 404 page for assets server 2022-01-06 00:16:18 -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
Alexey Nesterov
184d5ba87c Support regex in host / server
Main consideration is backward compatibility. example.com should be treated as an exact
match, where possible. So current order is: exact host, regex host, * or "".

Regex matches are cached for better performance, cache is invalidated once mappings are refreshed.
2021-11-04 12:00:17 -05: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
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
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
f610a631e4 add docs about base image and spa mode 2021-08-28 12:16:38 -05:00
Pavel Mineev
55480a9148 center badges in readme 2021-08-13 02:01:59 -05:00
Umputun
ee0014e215 trigger site updates on README.md changes 2021-08-11 20:37:51 -05:00
Umputun
646b6dd8b2 typo 2021-07-18 15:30:07 -05:00
Umputun
3a230955f0 add info about limiter and more quick examples 2021-07-09 16:49:09 -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
John
a9c7db27b6 fix broken link to plugin example in README 2021-06-30 10:50:22 -05:00
Umputun
2d974153f0 add container security text 2021-06-26 12:34:33 -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
22dc84b924 move compose specific to its own section 2021-06-08 12:31:23 -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
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
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
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
0217410207 typos 2021-05-28 15:27:16 -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
f043a91dca minor docs improvements 2021-05-20 18:32:10 -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
b79a9faf3c support size units #71 2021-05-14 22:01:27 -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
144902dd2f update readme 2021-05-13 01:49:18 -05:00
Umputun
d438f89b1a update readme 2021-05-13 01:45:54 -05:00
Negasus
738c3baf6c add consul catalog provider 2021-05-13 01:14:04 -05:00
Umputun
497dfdb070 add docs about repeatable options #63 2021-05-04 14:17:18 -05:00
Umputun
4c051ca37f
detect in-container and set listen address to 0.0.0.0 (#62)
* detect in-container and set listen to 0.0.0.0

* simplify default address logic

don't change if user defined, use 127.0.0.1:8080 for non-docker and 0.0.0.0:8080 for in-docker only if nothing set

* add dynamic default to redir http port

* add docs about dynamic defaults

* add ssl example

* lint: params warn
2021-05-03 21:40:21 -05:00
Umputun
5743109210
Nice error (#61)
* add support of html error reporting with custom templates

* typo

* formatting

* better template load error msg
2021-04-30 04:03:36 -05:00
Umputun
2670144e8a add support of docker route prefix 2021-04-28 14:00:38 -05:00
Umputun
b04832658e reformat example 2021-04-27 03:45:46 -05:00
Umputun
66eb3ffe4a support d units in cache duration 2021-04-27 01:40:46 -05:00