Add mkdir command to acme.sh

This commit is contained in:
RealStickman 2022-09-11 17:36:46 +02:00
parent 0edf312ea3
commit 6a43d874cd

View File

@ -29,8 +29,9 @@ Needs root to start a server on port 80
Make sure to create the `/etc/acme-sh/(url)` directory
```
$ export url=nextcloud.exu.li \
&& (path to)/acme.sh --install-cert -d $url \
$ export url=woodpecker.exu.li \
&& mkdir -p /etc/acme-sh/{$url} \
&& .acme.sh/acme.sh --install-cert -d $url \
--key-file /etc/acme-sh/{$url}/key.pem \
--fullchain-file /etc/acme-sh/{$url}/cert.pem \
--reloadcmd "sudo systemctl restart nginx"