mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-09 09:12:44 +00:00
Update README file for Lighttpd deploy script
This commit is contained in:
parent
4be17cc760
commit
a3646c8bc2
@ -80,3 +80,26 @@ acme.sh --deploy -d ftp.example.com --deploy-hook exim4
|
|||||||
```sh
|
```sh
|
||||||
acme.sh --deploy -d ftp.example.com --deploy-hook keychain
|
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
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user