From 021741020707b17071afcbe6d1c51d8718d51516 Mon Sep 17 00:00:00 2001 From: Umputun Date: Fri, 28 May 2021 15:27:16 -0500 Subject: [PATCH] typos --- README.md | 2 +- examples/docker/docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 971b10c..3cd59af 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ With `--docker.auto`, all containers with exposed port will be considered as rou If no `reproxy.route` defined, the default is `http://:/(.*)`. In case if all proxied source have the same pattern, for example `/api/(.*)` user can define the common prefix (in this case `/api`) for all container-based routes. This can be done with `--docker.prefix` parameter. -Docker provider also allows to define multiple set of `reproxy.N.something` labels to match multiple distinct routes on the same container. This is useful as inn some cases, a container may expose multiple endpoints, for example, public API and some admin API. All the labels above can be used with "N-index", i.e. `reproxy.1.server`, `reproxy.1.port` and so on. N should be in 0 to 9 range. +Docker provider also allows to define multiple set of `reproxy.N.something` labels to match multiple distinct routes on the same container. This is useful as in some cases a container may expose multiple endpoints, for example, public API and some admin API. All the labels above can be used with "N-index", i.e. `reproxy.1.server`, `reproxy.1.port` and so on. N should be in 0 to 9 range. This is a dynamic provider and any change in container's status will be applied automatically. diff --git a/examples/docker/docker-compose.yml b/examples/docker/docker-compose.yml index 71e068c..a44be29 100644 --- a/examples/docker/docker-compose.yml +++ b/examples/docker/docker-compose.yml @@ -20,7 +20,7 @@ services: X-XSS-Protection:1; mode=block;, Content-Security-Policy:default-src 'self'; style-src 'self' 'unsafe-inline'; - # automatic destination, will be mapped for ^/api/svc1/(.*) + # automatic destination, will be mapped for ^/svc1/(.*) svc1: image: ghcr.io/umputun/echo-http hostname: svc1 @@ -28,7 +28,7 @@ services: command: --message="hello world from svc1" - # automatic destination, will be mapped for ^/api/svc2/(.*) + # automatic destination, will be mapped for ^/svc2/(.*) svc2: image: ghcr.io/umputun/echo-http hostname: svc2