Skip to content

Commit 84c0229

Browse files
committed
fix typos
1 parent 7f95455 commit 84c0229

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ DOCKER_HOST=192.168.0.100:2375|serverA,192.168.0.110:2375|serverB|local.test,192
5858
5959
### Upstream IP and Port
6060
61-
When using a remote docker host from `DOCKER_HOST` auto-proxy assumes the detected containers on not on the same network as SWAG:
61+
When using a remote docker host from `DOCKER_HOST` auto-proxy assumes the detected containers are not on the same network as SWAG:
6262
6363
* If the detected containers do not have the `swag_address` label set then the Host IP will be used.
6464
* If the detected containers do not have the `swag_port` label set then auto-proxy attempts to find a mapped **host port** on the container and will use it based on **container port** in this order:
@@ -68,19 +68,19 @@ When using a remote docker host from `DOCKER_HOST` auto-proxy assumes the detect
6868
6969
### Subdomains and TLD
7070
71-
If a detected container does not have `swag_url` label set then the subdomain and TLD can be programmatically generated.
71+
If a detected container does not have the `swag_url` label set then the subdomain and TLD can be programmatically generated.
7272
7373
The default TLD used in nginx [`server_name` directive](https://nginx.org/en/docs/http/server_names.html) can be set using `HOST_TLD`. This can also be set per-host using the syntax described in [`DOCKER_HOST` for `default_tld`.](#multiple-hosts)
7474
75-
The subdomain used for a container can optionally be modified to include the Host's `friendly_name` described in the `DOCKER_HOST` syntax by setting the `HOST_INSERT` to either `prefix` or `suffix`
75+
The subdomain used for a container can optionally be modified to include the Host's `friendly_name` described in the `DOCKER_HOST` syntax by setting `HOST_INSERT` to either `prefix` or `suffix`
7676
7777
Examples using a container named `overseer`:
7878
7979
* Using only HOST_INSERT to modify subdomain
8080
* `DOCKER_HOST=192.168.0.100:2375|serverA`
8181
* `HOST_TLD` (not set, defaults to `*`)
8282
* `HOST_INSERT`
83-
* (unset) => nginx `server_name swag.*`
83+
* (unset) => nginx `server_name overseer.*`
8484
* `prefix` => nginx `server_name serverA-overseer.*`
8585
* `suffix` => nginx `server_name overseer-serverA.*`
8686
* Using HOST_INSERT prefix and HOST_TLD

0 commit comments

Comments
 (0)