diff --git a/content/docker-images/varnish.md b/content/docker-images/varnish.md index 300b907..7ff45cf 100644 --- a/content/docker-images/varnish.md +++ b/content/docker-images/varnish.md @@ -43,9 +43,9 @@ The syntax is as follow : varnish: sites: default: - nodes: - - host: web - port: 8080 + nodes: + - host: web + port: 8080 ``` #### Load balancer with routing @@ -97,7 +97,7 @@ You should also make sure to include `/tmp/directors.vcl` in your VCL to setup t Assuming you have a working VCL with `default.vcl` in your local `varnish` folder : ```bash -docker run -p 8086:8086 -ti --rm -e YAML_CONF=/yaml.conf -v $(pwd)/config.yaml:/config.yaml -v $(pwd)/varnish:/etc/varnish fpfis/varnish:4.1 +docker run -p 8086:8086 -ti --rm -e YAML_CONF=/config.yaml -v $(pwd)/config.yaml:/config.yaml -v $(pwd)/varnish:/etc/varnish fpfis/varnish:4.1 ``` @@ -106,4 +106,4 @@ ___ [![Build Status](https://drone.fpfis.eu/api/badges/fpfis/varnish/status.svg?branch=master)](https://drone.fpfis.eu/fpfis/varnish) [![Docker Image](https://images.microbadger.com/badges/image/fpfis/varnish:4.1.svg)](https://microbadger.com/images/fpfis/varnish) [![Docker Image](https://images.microbadger.com/badges/image/fpfis/varnish:6.svg)](https://microbadger.com/images/fpfis/varnish) - \ No newline at end of file +