You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ No more writing configuration files. `nginx-proxy` watches for container changes
17
17
-**Swarm Ready:** Compatible with Docker Swarm services.
18
18
19
19
## Philosophy
20
-
`nginx-proxy` is built on the belief that infrastructure should be invisible. Once deployed you should never have to know that this service is running.
20
+
`nginx-proxy` is built on the belief that infrastructure should be invisible. Each service keeps its configuration.
21
21
22
22
## Quick Start
23
23
### 1. Start nginx-proxy
@@ -105,8 +105,8 @@ To expose a container, set the `VIRTUAL_HOST*` environment variable. The contain
105
105
|`example.com -> :8080`| Proxies to port 8080. |
106
106
|`https://example.com`| HTTPS proxy to container exposed http port |
107
107
|`https://example.com/api`| Only /api path is passed on to container. /api prefix is not removed |
108
-
|`https://example.com/api -> /v1`| Re-maps path `/api` to `/v1` on contianer exposed port|
109
-
|`https://example.com/api -> :8080/v1`| Re-maps path `/api` to `/v1` on contianer port 8080|
108
+
|`https://example.com/api -> /v1`| Re-maps path `/api` to `/v1` on container exposed port|
109
+
|`https://example.com/api -> :8080/v1`| Re-maps path `/api` to `/v1` on container port 8080|
110
110
|`https://example.com/api -> https://_:8080/v1`| Re-maps path `/api` to `/v1` on port 8080. Https is used to connect to container|
111
111
112
112
**Note:** Directives separated by `;` are injected into the Nginx `location` block.
@@ -119,7 +119,7 @@ WebSocket support requires explicit configuration if the protocol is not detecte
119
119
-**Auto-Upgrade:**`VIRTUAL_HOST=https+wss://example.com` (Supports both HTTP and WSS on te host).
120
120
121
121
### Multiple Hosts
122
-
A single container can serve multiple domains path mappings. All that matters is that ev variable starts with `VIRTUAL_HOST` e.g. `VIRTUAL_HOST1`, `VIRTUAL_HOST2`, etc.
122
+
A single container can serve multiple domains path mappings. All that matters is that env variable starts with `VIRTUAL_HOST` e.g. `VIRTUAL_HOST1`, `VIRTUAL_HOST2`, etc.
123
123
124
124
**Example:**
125
125
```bash
@@ -134,13 +134,13 @@ Proxy to external hosts, (not in Docker) using `STATIC_VIRTUAL_HOST`. The contai
**Note**Beaware that if domain as target, nginx will crash if DNS resolution fails.
137
+
**Note**Be aware that if domain as target, nginx will crash if DNS resolution fails.
138
138
139
139
## Docker Swarm Support [Preview]
140
-
Enable warm mode by setting `DOCKER_SWARM` to `enable` (local & swarm) or `strict` (swarm only).
140
+
Enable swarm mode by setting `DOCKER_SWARM` to `enable` (local & swarm) or `strict` (swarm only).
141
141
If current node is not manager, set `SWARM_DOCKER_HOST=tcp://manager:2375`.
142
142
143
-
**Warning** : Automatic exposed port detection will not work when swrm support is enabled. You must explicitly set port on the `VIRTUAL_HOST` or set `VIRTUAL_PORT` on the container.
143
+
**Warning** : Automatic exposed port detection will not work when swarm support is enabled. You must explicitly set port on the `VIRTUAL_HOST` or set `VIRTUAL_PORT` on the container.
0 commit comments