1
0

Do not tag separate containers as recommended

Peoples seems to often run into misconfiguration issues with this method.
This commit is contained in:
Nicolas Duchon 2017-12-05 20:49:13 +01:00 committed by GitHub
parent 405cffa64d
commit 00c558186b
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -53,7 +53,7 @@ Then start any containers you want proxied with a env var `VIRTUAL_HOST=subdomai
The containers being proxied must [expose](https://docs.docker.com/reference/run/#expose-incoming-ports) the port to be proxied, either by using the `EXPOSE` directive in their `Dockerfile` or by using the `--expose` flag to `docker run` or `docker create`. See [nginx-proxy](https://github.com/jwilder/nginx-proxy) for more informations. To generate automatically Let's Encrypt certificates see next section.
#### Separate Containers (recommended method)
#### Separate Containers
nginx proxy can also be run as two separate containers using the [jwilder/docker-gen](https://github.com/jwilder/docker-gen)
image and the official [nginx](https://hub.docker.com/_/nginx/) image.