2fb075551586e4a7ce34b4710aee512ee3758f9d
haproxy-letsencrypt-docker.md
| ... | ... | @@ -178,7 +178,7 @@ backend domain2 |
| 178 | 178 | ``` |
| 179 | 179 | |
| 180 | 180 | What's going on here then? |
| 181 | -* The global section logs everything to stdout, because that's what you do with docker. [rule 6](/rules#thou-shalt-respect-the-sanctity-of-stdout) does not apply in dockerland. |
|
| 181 | +* The global section logs everything to stdout, because that's what you do with docker. [rule 6](/rules#6-thou-shalt-respect-the-sanctity-of-stdout) does not apply in dockerland. |
|
| 182 | 182 | * We're setting the Mozilla recommended ciphers and DH values. Check the [current recommendations](https://mozilla.github.io/server-side-tls/ssl-config-generator/) if you're foolish enough to go into production with this stuff. |
| 183 | 183 | * We're using 'resolvers' and 'default-server init-addr none' to get around the problem of containers not being up at haproxy startup time. Docker with user-defined networks always puts a resolver at 127.0.0.11:53, and haproxy can use that to resolve container names at *runtime* instead of *startup* time. |
| 184 | 184 | * We're binding to port 8080 and 8443, and setting the cert to the Let's Encrypt cert we dumped out in the previous section. The ports will be mapped back to 80 and 443 by docker later on. |