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

69 Commits

Author SHA1 Message Date
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
Umputun
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
Umputun
f5c5c61349 add header example 2021-04-25 12:57:11 -05:00
Umputun
c4f3752350 remove negative duration sample 2021-04-24 19:00:20 -05:00
Umputun
89b562e059 add details about cache duration 2021-04-24 18:59:55 -05:00
Umputun
a0b56580e2 fiх absolute link in docs 2021-04-24 13:53:33 -05:00
Umputun
8279b1a8ea change gcr link 2021-04-23 23:42:43 -05:00
Umputun
a36c64fca4 remove some EOLs 2021-04-23 23:39:07 -05:00
Umputun
0914bbe9a2 minor typos 2021-04-23 16:46:35 -05:00
Umputun
c590c3246d
Assets cache (#54)
* add caching control for assets
* regen site
2021-04-23 02:02:36 -05:00
Umputun
6096db3ff0 typo and regen site 2021-04-21 02:03:19 -05:00
Umputun
4c79c3b239 rename endpoint to /metrics 2021-04-21 01:28:07 -05:00
Umputun
8ea0052228 implement basic support of metrics via mgmt server #35 2021-04-20 19:22:46 -05:00
Cigizmoond Vyhuholev
bece2938f0 Fix typo 2021-04-20 10:47:23 -05:00
Umputun
3499836b90 fix typo in help msg 2021-04-19 03:25:59 -05:00
Umputun
087a0b7873 make clear multiple hosts support 2021-04-18 12:19:03 -05:00
Umputun
34c1510c8c
fix docker paths in docs 2021-04-17 12:49:47 -05:00
Umputun
93f4d5b975 add minimal info about providers nature 2021-04-16 17:17:57 -05:00
Pavel Mineev
62ee98bf16 fix anchor 2021-04-16 15:19:18 -05:00
Pavel Mineev
41104ef980 Fix new line in README.md 2021-04-16 14:12:53 -05:00
Umputun
9ffae3449b drop unneeded EOL from readme 2021-04-16 14:09:30 -05:00
Umputun
9bcbe360e1
Update README.md 2021-04-16 13:38:20 -05:00
Pavel Mineev
e248ef2441 revert README.md and symblink it to the site folder, add better font styles 2021-04-16 13:36:45 -05:00
Pavel Mineev
3951d3866e use one readme for repo and site 2021-04-16 13:22:53 -05:00
Pavel Mineev
ab9c5864bb
Create cool site for Reproxy (#30)
by @akellbl4 

* make cool site for reproxy

* remove meta tags with images

* fix dark theme

* flix styles for sidebar nav

* add scroll in sidebar

* fix dark theme

* fix markdown

* remove package lock

* add package lock to ignore

* add update date and edit button

* add build command

* move target to public

* add build

* use gitignore

* add logos

* Changes

- add meta
- add close button

* add style for code tag

* fix favicon color in safari

* add logo styles

* update favicon

* add classic ico favicon

* update touch icon

* fix sharing images

* fix logo

* move data to site data file

* add fancy mate glass effect on header

* make readme as site base

* update logo

update logo

* add stretching width for the content

* add dockerfile

* fix dark theme bugs

* remove usless props

* fix logo

* fix node version

* replce logo for the site

* fix path to logo in readme

* add more space on logo in readme

* fix logo size in readme
2021-04-16 12:34:03 -05:00
Umputun
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
Dmitriy Kopylenko
58bed075fd Simple grammatical change 2021-04-14 11:06:49 -05:00
Umputun
7138a71236 add a tiny docker example 2021-04-14 03:45:25 -05:00
Umputun
6dcc2fa719 flip signature, disabled by default 2021-04-13 14:08:15 -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
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
875f288fd7
typo 2021-04-12 16:12:14 -05:00
Umputun
c4703d3b17 update docs 2021-04-12 03:41:04 -05:00
Umputun
9462170cd1 support reproxy.enabled label, enforce this label for reproxy container itself #16 2021-04-11 01:37:45 -05:00
Umputun
ddf951b567 more details to readme 2021-04-10 21:23:07 -05:00
Umputun
be20b0b636 allow use of assets server without any provider 2021-04-10 14:34:28 -05:00