96543a3a2a8faec048e9da13f5b417f2e736ae34
haproxy-letsencrypt-docker.md
| ... | ... | @@ -86,10 +86,10 @@ volumes: |
| 86 | 86 | ``` |
| 87 | 87 | |
| 88 | 88 | Things of note: |
| 89 | -1. certbot listens on port 8000, which docker is mapping to port 80 and making available to the outside world for Let's Encrypt to talk to. We don't need port 443 mapped, because this is an initial request and Let's Encrypt should be fine with just port 80. |
|
| 90 | -2. We're attaching a docker volume to /etc/letsencrypt - that's where the certs end up, and that's how we'll make them available to haproxy. |
|
| 91 | -3. The command concatenates the cert chain and private key into a format that haproxy understands, and dumps it out into the mounted /etc/letsencrypt volume. |
|
| 92 | -4. certbot names the certs for the first domain specified, so that ends up in all of the paths under /etc/letsencrypt. You might be able to change that, but see [rule 1](/rules#love-thy-defaults). |
|
| 89 | +* certbot listens on port 8000, which docker is mapping to port 80 and making available to the outside world for Let's Encrypt to talk to. We don't need port 443 mapped, because this is an initial request and Let's Encrypt should be fine with just port 80. |
|
| 90 | +* We're attaching a docker volume to /etc/letsencrypt - that's where the certs end up, and that's how we'll make them available to haproxy. |
|
| 91 | +* The command concatenates the cert chain and private key into a format that haproxy understands, and dumps it out into the mounted /etc/letsencrypt volume. |
|
| 92 | +* certbot names the certs for the first domain specified, so that ends up in all of the paths under /etc/letsencrypt. You might be able to change that, but see [rule 1](/rules#love-thy-defaults). |
|
| 93 | 93 | |
| 94 | 94 | ## deploy-hook |
| 95 | 95 | The letsencrypt/deploy-hook script looks like: |