Add mkdir command to acme.sh
This commit is contained in:
parent
0edf312ea3
commit
6a43d874cd
@ -29,8 +29,9 @@ Needs root to start a server on port 80
|
|||||||
Make sure to create the `/etc/acme-sh/(url)` directory
|
Make sure to create the `/etc/acme-sh/(url)` directory
|
||||||
|
|
||||||
```
|
```
|
||||||
$ export url=nextcloud.exu.li \
|
$ export url=woodpecker.exu.li \
|
||||||
&& (path to)/acme.sh --install-cert -d $url \
|
&& mkdir -p /etc/acme-sh/{$url} \
|
||||||
|
&& .acme.sh/acme.sh --install-cert -d $url \
|
||||||
--key-file /etc/acme-sh/{$url}/key.pem \
|
--key-file /etc/acme-sh/{$url}/key.pem \
|
||||||
--fullchain-file /etc/acme-sh/{$url}/cert.pem \
|
--fullchain-file /etc/acme-sh/{$url}/cert.pem \
|
||||||
--reloadcmd "sudo systemctl restart nginx"
|
--reloadcmd "sudo systemctl restart nginx"
|
||||||
|
Loading…
Reference in New Issue
Block a user