Updated readme.md.

This commit is contained in:
redxef 2020-11-01 13:09:42 +01:00
parent c564d5a2f7
commit 4531aa5e0e

View file

@ -2,6 +2,22 @@
Just run it with the correct environment variables and enjoy.
Because of a limitation on duckdns it is not possible to
request a certificate which works for both the domain and
wildcard subdomains. Because of this we request 2 certificates,
one for the domain and one wildcard cert.
**Example:**
`DUCKDNS_DOMAIN=redxef`
Yields 2 certificates, the first being for redxef.duckdns.org and the
second being for *.redxef.duckdns.org. These certificates can be found
under the following locations respectively:
- `/etc/letsencrypt/live/redxef.duckdns.org/`
- `/etc/letsencrypt/live/redxef.duckdns.org-0001/`
## ENV Variables
- DUCKDNS_DOMAIN: The domain to update, ex: DUCKDNS_DOMAIN=redxef for redxef.duckdns.org