From c4703d3b17207049d35e4c8f0f9ef0ea02a6a8b6 Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 12 Apr 2021 03:41:04 -0500 Subject: [PATCH] update docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38062c4..744a3cf 100644 --- a/README.md +++ b/README.md @@ -59,11 +59,11 @@ This is a dynamic provider and file change will be applied automatically. ### Docker -Docker provider works with no extra configuration and by default redirects all requests like `https://server/api//(.*)` to the internal IP of the given container and the exposed port. Only active (running) containers will be detected. +Docker provider works with no extra configuration and by default redirects all requests like `https://server//(.*)` to the internal IP of the given container and the exposed port. Only active (running) containers will be detected. This default can be changed with labels: -- `reproxy.server` - server (hostname) to match +- `reproxy.server` - server (hostname) to match. Also can be a list of comma-separated servers. - `reproxy.route` - source route (location) - `reproxy.dest` - destination path. Note: this is not full url, but just the path which will be appended to container's ip:port - `reproxy.ping` - ping path for the destination container.