1
0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-09-08 05:00:52 +02:00

docs: update version in README.md

This commit is contained in:
Niek 2024-06-10 09:42:07 +02:00
parent e6c301a4a5
commit 705dfa090b
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ docker run --detach \
--name nginx-proxy \
--publish 80:80 \
--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`
@ -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.
```console
docker pull nginxproxy/nginx-proxy:1.5
docker pull nginxproxy/nginx-proxy:1.6
```
#### 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.
```console
docker pull nginxproxy/nginx-proxy:1.5-alpine
docker pull nginxproxy/nginx-proxy:1.6-alpine
```
#### :warning: a note on `latest` and `alpine`:

View File

@ -817,7 +817,7 @@ docker run --detach \
--publish 80:80 \
--volume /var/run/docker.sock:/tmp/docker.sock: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.
@ -872,7 +872,7 @@ docker run --detach \
--publish 53:53:udp \
--volume /var/run/docker.sock:/tmp/docker.sock: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.