feat(web-servers/nginx): allow wildcard subdomains for letsencrypt certs
This commit is contained in:
parent
d539849088
commit
40f526ce62
2 changed files with 31 additions and 19 deletions
|
@ -1,6 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
inherit (lib) mkMerge mkIf mkEnableOption;
|
||||
inherit (lib)
|
||||
mkMerge
|
||||
mkIf
|
||||
mkEnableOption
|
||||
singleton
|
||||
;
|
||||
cfg = config.server.web-servers;
|
||||
in
|
||||
{
|
||||
|
@ -19,6 +24,12 @@ in
|
|||
dnsProvider = "cloudflare";
|
||||
credentialFiles."CLOUDFLARE_DNS_API_TOKEN_FILE" = config.sops.secrets."keys/cloudflare".path;
|
||||
};
|
||||
certs = {
|
||||
"rrv.sh".extraDomainNames = singleton "*.rrv.sh";
|
||||
"bwfiq.com".extraDomainNames = singleton "*.bwfiq.com";
|
||||
"slayment.com".extraDomainNames = singleton "*.slayment.com";
|
||||
"aenyrathia.wiki".extraDomainNames = singleton "*.aenyrathia.wiki";
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue