Umputun
dff390414d
add caching for site
2022-08-09 17:22:23 -05:00
Umputun
a84bbc3603
drop redirect map on site
2022-08-08 17:01:50 -05:00
Umputun
e1e99fe9b8
simplify Dockerfile.site, eliminate copy commands
2022-08-08 16:53:53 -05:00
Umputun
0af7807e36
simplify site configuration
2022-08-08 16:34:12 -05:00
Umputun
45d699ef80
use extra_css for site styles
2022-08-08 15:49:53 -05:00
Umputun
77d82d9a0f
switch site to mkdocs material
2022-08-07 15:21:34 -05:00
Vadim YR
b9e994be0c
type in return error
2022-06-23 22:57:35 -05:00
dependabot[bot]
3e2b32573f
Bump markdown-it from 12.0.4 to 12.3.2 in /site
...
Bumps [markdown-it](https://github.com/markdown-it/markdown-it ) from 12.0.4 to 12.3.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases )
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md )
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.0.4...12.3.2 )
---
updated-dependencies:
- dependency-name: markdown-it
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-12 12:22:31 -05:00
dependabot[bot]
eea06a5f4a
Bump minimist from 1.2.5 to 1.2.6 in /site
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-12 12:22:05 -05:00
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
Roman Makarenko
cda43cfb5c
Add persistent volume to keep certificates
2022-03-17 01:51:23 -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
Negasus
4126fa7993
update error message
2022-02-15 02:59:44 -06:00
Negasus
22bea287e4
return error on wrong ssl.type value
2022-02-15 02:59:44 -06:00
dependabot[bot]
a3d0c10302
Bump follow-redirects from 1.13.3 to 1.14.8 in /site
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.13.3 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.3...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 11:21:46 -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
dependabot[bot]
cfe149c689
Bump postcss from 8.2.10 to 8.2.13 in /site
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 22:05:06 -06:00
dependabot[bot]
b464c343f6
Bump nanoid from 3.1.22 to 3.2.0 in /site
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.22 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.22...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 22:02:41 -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
Alexey Nesterov
2e8733b152
Correctly handle URL escaped paths
...
Consider proxy configuration `*,/test/(.*),https://dest/$1 `.
When reproxy accepts a request with URL encoded path, i.e.
'/test/a%205%25%20b/' which the encoded form of '/test/a 5% b',
it is using request.URL.Path which is already URL decoded by Golang.
This causes an error in proxy.go while it is trying to validate the
destination with `url.Parse(match.Destination)` as, strictly speaking,
destination URL is not a valid URL anymore, it is `https://target-dest/a 5% b`.
With this fix, the original escaped URL stays as is, correctly passes
the validation and then it is up to destination server to URL decode and
correctly handle the URL.
2021-12-06 11:00:07 -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
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
Vasilii Blazhnov
1783f540f8
Removed non-existent files from .golangci.yml
2021-10-09 18:32:21 -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
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
Pavel Mineev
55480a9148
center badges in readme
2021-08-13 02:01:59 -05:00
Umputun
d364904dd8
fix flaky tests
2021-08-12 22:31:15 -05:00
dependabot[bot]
935e492461
Bump path-parse from 1.0.6 to 1.0.7 in /site ( #105 )
2021-08-12 20:08:04 -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