mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
typos
This commit is contained in:
parent
b4c8804a3a
commit
0217410207
@ -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://<container_name>:<container_port>/(.*)`. 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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user