mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
more renaming leftovers
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -48,5 +48,5 @@ jobs:
|
||||
ref="$(echo ${GITHUB_REF} | cut -d'/' -f3)"
|
||||
echo GITHUB_REF - $ref
|
||||
docker login docker.pkg.github.com -u umputun -p ${GITHUB_PACKAGE_TOKEN}
|
||||
docker build -t docker.pkg.github.com/umputun/docker-proxy/dpx:${ref} .
|
||||
docker push docker.pkg.github.com/umputun/docker-proxy/dpx:${ref}
|
||||
docker build -t docker.pkg.github.com/umputun/reproxy/reproxy:${ref} .
|
||||
docker push docker.pkg.github.com/umputun/reproxy/reproxy:${ref}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# reproxy [](https://github.com/umputun/reproxy/actions/workflows/ci.yml)
|
||||
|
||||
Simple edge reverse HTTP(s) proxy for various providers (docker, static, file). One or more providers supply information
|
||||
about requested server, requested url and destination url.
|
||||
about requested server, requested url and destination url. Distributed as a single binary and a docker container.
|
||||
|
||||
Server can be FQDN, i.e. `s.example.com` or `*` (catch all). Requested url can be regex, for example `^/api/(.*)` and destination url
|
||||
may have regex matched groups, i.e. `http://d.example.com:8080/$1`. For the example above `http://s.example.com/api/something?foo=bar` will be proxied to `http://d.example.com:8080/something?foo=bar`.
|
||||
@@ -11,7 +11,7 @@ ACME (Let's Encrypt) certificates. Optional assets server can be used to serve s
|
||||
|
||||
Starting dpx requires at least one provider defined. The rest of parameters are strictly optional and have sane default.
|
||||
|
||||
example with a static provider: `dbx --static.enabled --rule="example.com/api/(.*),https://api.example.com/$1"`
|
||||
example with a static provider: `reproxy --static.enabled --rule="example.com/api/(.*),https://api.example.com/$1"`
|
||||
|
||||
## Providers
|
||||
|
||||
@@ -25,7 +25,7 @@ Each rule is 2 or 3 comma-separated elements `[server,]sourceurl,destination`. F
|
||||
|
||||
## File
|
||||
|
||||
`dbx --file.enabled --file.name=config.yml`
|
||||
`reproxy --file.enabled --file.name=config.yml`
|
||||
|
||||
example of `config.yml`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user