update for new haproxy deploy vars

This commit is contained in:
andrewheberle 2018-05-10 15:28:54 +08:00 committed by GitHub
parent ba20af48d3
commit 675e2d25d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,9 +258,16 @@ acme.sh --deploy -d ftp.example.com --deploy-hook strongswan
## 10. Deploy the cert to HAProxy ## 10. Deploy the cert to HAProxy
You must specify the file where you want the concatenated key and certificate chain written. You may specify the directory where you want the concatenated key and certificate chain written. The value shown below will be used as the default if you don't set this environment variable.
```sh ```sh
export DEPLOY_HAPROXY_PEM=/etc/haproxy/server.pem export DEPLOY_HAPROXY_PEM_PATH=/etc/haproxy
```
You may optionally specify the file name where you want the concatenated key and certificate chain written. The value shown below will be used as the default if you don't set this environment variable.
```sh
export DEPLOY_HAPROXY_PEM_PATH=$domain
``` ```
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. 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.