浏览代码

docs: update version in README.md

Niek 1 年之前
父节点
当前提交
705dfa090b
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 3 3
      README.md
  2. 2 2
      docs/README.md

+ 3 - 3
README.md

@@ -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`:

+ 2 - 2
docs/README.md

@@ -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.