Skip to content

Commit

Permalink
Merge pull request #65 from tommyschaefer/haproxy-template-docs
Browse files Browse the repository at this point in the history
Update haproxy template container path in docs
  • Loading branch information
vfarcic authored Nov 22, 2016
2 parents 71c81db + 8394426 commit db0a88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The base HAProxy configuration can be found in [haproxy.tmpl](haproxy.tmpl). It

```
FROM vfarcic/docker-flow-proxy
COPY haproxy.tmpl /cfg/haproxy.tmpl
COPY haproxy.tmpl /cfg/tmpl/haproxy.tmpl
```

### Reconfigure
Expand Down
2 changes: 1 addition & 1 deletion articles/swarm-mode-listener.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ There are two ways we can add certificates to the proxy. One is to create your o
```
FROM vfarcic/docker-flow-proxy
COPY my-cert.pem /certs/my-cert.pem
COPY haproxy.tmpl /cfg/haproxy.tmpl
COPY haproxy.tmpl /cfg/tmpl/haproxy.tmpl
```

When the image is built, it will be based on `vfarcic/docker-flow-proxy` and include `my-cert.pem` and `haproxy.tmpl` files. The `my-cert.pem` would be your certificate and the `haproxy.tmpl` the modified version of the original proxy template located in [https://github.com/vfarcic/docker-flow-proxy/blob/master/haproxy.tmpl](https://github.com/vfarcic/docker-flow-proxy/blob/master/haproxy.tmpl). You'd need to replace `{{.CertsString}}` with ` ssl crt /certs/my-cert.pem` (please note that the string should start with space). The complete line would be as follows.
Expand Down

0 comments on commit db0a88f

Please sign in to comment.