Browse Source
add documentation for reload command
pull/1584/head
Daniel Watrous
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
deploy/README.md
|
@ -263,6 +263,12 @@ You must specify the path where you want the concatenated key and certificate ch |
|
|
export DEPLOY_HAPROXY_PEM_PATH=/etc/haproxy |
|
|
export DEPLOY_HAPROXY_PEM_PATH=/etc/haproxy |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
You may optionally define the command to reload HAProxy. The value shown below will be used as the default if you don't set this environment variable. |
|
|
|
|
|
|
|
|
|
|
|
```sh |
|
|
|
|
|
export DEPLOY_HAPROXY_RELOAD="/usr/sbin/service haproxy restart" |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
You can then deploy the certificate as follows |
|
|
You can then deploy the certificate as follows |
|
|
```sh |
|
|
```sh |
|
|
acme.sh --deploy -d haproxy.example.com --deploy-hook haproxy |
|
|
acme.sh --deploy -d haproxy.example.com --deploy-hook haproxy |
|
|