From a3646c8bc27aac4cfa59a4b99e460ba9f32eec6c Mon Sep 17 00:00:00 2001 From: DrDrrae Date: Sun, 6 Aug 2017 12:29:54 -0400 Subject: [PATCH] Update README file for Lighttpd deploy script --- deploy/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/deploy/README.md b/deploy/README.md index 232fdb4a..80619ae8 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -80,3 +80,26 @@ acme.sh --deploy -d ftp.example.com --deploy-hook exim4 ```sh acme.sh --deploy -d ftp.example.com --deploy-hook keychain ``` + +## 7. Deploy the cert to Lighttpd + +```sh + +acme.sh --deploy -d ftp.example.com --deploy-hook lighttpd +``` + +The default lighttpd conf file is `/etc/lighttpd/lighttpd.conf`, if your lighttpd conf is not in the default location, you can specify one: + +```sh +export DEPLOY_LIGHTTTPD_CONF="/etc/lighttpd/external.conf" + +acme.sh --deploy -d ftp.example.com --deploy-hook lighttpd +``` + +The default command to restart Lighttpd server is `service lighttpd restart`, if it doesn't work, you can specify one: + +```sh +export DEPLOY_LIGHTTTPD_RELOAD="/etc/init.d/lighttpd restart" + +acme.sh --deploy -d ftp.example.com --deploy-hook lighttpd +```