mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2024-11-08 15:59:17 +01:00
Merge pull request #2478 from SchoNie/docs-1.6
docs: update version in README.md
This commit is contained in:
commit
b67b434711
@ -18,7 +18,7 @@ docker run --detach \
|
|||||||
--name nginx-proxy \
|
--name nginx-proxy \
|
||||||
--publish 80:80 \
|
--publish 80:80 \
|
||||||
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
|
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
|
||||||
nginxproxy/nginx-proxy:1.5
|
nginxproxy/nginx-proxy:1.6
|
||||||
```
|
```
|
||||||
|
|
||||||
Then start any containers (here an nginx container) you want proxied with an env var `VIRTUAL_HOST=subdomain.yourdomain.com`
|
Then start any containers (here an nginx container) you want proxied with an env var `VIRTUAL_HOST=subdomain.yourdomain.com`
|
||||||
@ -48,7 +48,7 @@ The nginx-proxy images are available in two flavors.
|
|||||||
This image is based on the nginx:mainline image, itself based on the debian slim image.
|
This image is based on the nginx:mainline image, itself based on the debian slim image.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker pull nginxproxy/nginx-proxy:1.5
|
docker pull nginxproxy/nginx-proxy:1.6
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Alpine based version (`-alpine` suffix)
|
#### Alpine based version (`-alpine` suffix)
|
||||||
@ -56,7 +56,7 @@ docker pull nginxproxy/nginx-proxy:1.5
|
|||||||
This image is based on the nginx:alpine image.
|
This image is based on the nginx:alpine image.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker pull nginxproxy/nginx-proxy:1.5-alpine
|
docker pull nginxproxy/nginx-proxy:1.6-alpine
|
||||||
```
|
```
|
||||||
|
|
||||||
#### :warning: a note on `latest` and `alpine`:
|
#### :warning: a note on `latest` and `alpine`:
|
||||||
|
@ -817,7 +817,7 @@ docker run --detach \
|
|||||||
--publish 80:80 \
|
--publish 80:80 \
|
||||||
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
|
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
|
||||||
--volume /path/to/error.html:/usr/share/nginx/html/errors/50x.html:ro \
|
--volume /path/to/error.html:/usr/share/nginx/html/errors/50x.html:ro \
|
||||||
nginxproxy/nginx-proxy:1.5
|
nginxproxy/nginx-proxy
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this will not replace your own services error pages.
|
Note that this will not replace your own services error pages.
|
||||||
@ -872,7 +872,7 @@ docker run --detach \
|
|||||||
--publish 53:53:udp \
|
--publish 53:53:udp \
|
||||||
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
|
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
|
||||||
--volume ./stream.conf:/etc/nginx/toplevel.conf.d/stream.conf:ro \
|
--volume ./stream.conf:/etc/nginx/toplevel.conf.d/stream.conf:ro \
|
||||||
nginxproxy/nginx-proxy:1.5
|
nginxproxy/nginx-proxy
|
||||||
```
|
```
|
||||||
|
|
||||||
Please note that TCP and UDP stream are not core features of nginx-proxy, so the above is provided as an example only, without any guarantee.
|
Please note that TCP and UDP stream are not core features of nginx-proxy, so the above is provided as an example only, without any guarantee.
|
||||||
|
Loading…
Reference in New Issue
Block a user