haproxy-letsencrypt-docker.md
... ...
@@ -316,18 +316,18 @@ backend new-container
316 316
server new-container1 new-container:6666 resolvers docker check
317 317
```
318 318
319
-Bring up the new container, the HUP haproxy to read the new config:
320
-`docker kill -s SIGHUP haproxy`
319
+Bring up the new container.
321 320
322 321
Log into the letsencrypt container:
323 322
`docker exec -ti letsencrypt bash`
324 323
325
-Then run certbot with the new domain:
324
+Then run certbot with the new domain and run the hook script:
326 325
```bash
327 326
certbot --standalone --expand \
328 327
-d "domain1.example.com" \
329 328
-d "domain2.example.com" \
330 329
-d "new.domain.com"
330
+/deploy-hook
331 331
```
332 332
333 333
# Next?