From bde03724e555dbb68b4fb56ae70157fb80a51b76 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sat, 3 Apr 2021 19:24:22 -0500 Subject: [PATCH] more renaming leftovers --- .github/workflows/ci.yml | 4 ++-- README.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f652c34..ad68000 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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} diff --git a/README.md b/README.md index 3474da8..5f842cd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # reproxy [![build](https://github.com/umputun/reproxy/actions/workflows/ci.yml/badge.svg)](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`: