Browse Source

Merge pull request #2670 from bryant1410/patch-2

docs: fix shell code blocks in README
Nicolas Duchon 1 week ago
parent
commit
d23e7b8192
1 changed files with 4 additions and 4 deletions
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -13,7 +13,7 @@ See [Automated Nginx Reverse Proxy for Docker](http://jasonwilder.com/blog/2014/
 
 To run it:
 
-```console
+```shell
 docker run --detach \
     --name nginx-proxy \
     --publish 80:80 \
@@ -23,7 +23,7 @@ docker run --detach \
 
 Then start any containers (here an nginx container) you want proxied with an env var `VIRTUAL_HOST=subdomain.yourdomain.com`
 
-```console
+```shell
 docker run --detach \
     --name your-proxied-app \
     --env VIRTUAL_HOST=foo.bar.com \
@@ -47,7 +47,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
+```shell
 docker pull nginxproxy/nginx-proxy:1.8
 ```
 
@@ -55,7 +55,7 @@ docker pull nginxproxy/nginx-proxy:1.8
 
 This image is based on the nginx:alpine image.
 
-```console
+```shell
 docker pull nginxproxy/nginx-proxy:1.8-alpine
 ```