Wildcard cert for stranger.systems
This commit is contained in:
parent
bc55a7e78f
commit
f715fd0807
1 changed files with 11 additions and 0 deletions
|
@ -32,6 +32,17 @@
|
||||||
defaults = {
|
defaults = {
|
||||||
email = "admin@stranger.systems";
|
email = "admin@stranger.systems";
|
||||||
};
|
};
|
||||||
|
# Get a wildcard cert
|
||||||
|
certs."wildcard.stranger.systems" = {
|
||||||
|
domain = "stranger.systems";
|
||||||
|
extraDomainNames = ["*.stranger.systems"];
|
||||||
|
dnsProvider = "cloudflare";
|
||||||
|
dnsPropagationCheck = true;
|
||||||
|
credentialFiles = {
|
||||||
|
"CLOUDFLARE_EMAIL_FILE" = "/run/secrets/cloudflare/email";
|
||||||
|
"CLOUDFLARE_API_KEY_FILE" = "/run/secrets/cloudflare/key";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# ACME data must be readable by the NGINX user
|
# ACME data must be readable by the NGINX user
|
||||||
|
|
Loading…
Add table
Reference in a new issue