chore(web-servers): switch to staging letsencrypt
This commit is contained in:
parent
17dc383a97
commit
1912666242
3 changed files with 4 additions and 11 deletions
|
@ -14,10 +14,10 @@ in
|
|||
acceptTerms = true;
|
||||
defaults = {
|
||||
inherit (config.system.mainUser) email;
|
||||
#TODO: switch back to production environment
|
||||
server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
||||
dnsProvider = "cloudflare";
|
||||
credentialFiles = {
|
||||
"CLOUDFLARE_DNS_API_TOKEN_FILE" = config.sops.secrets."keys/cloudflare".path;
|
||||
};
|
||||
credentialFiles."CLOUDFLARE_DNS_API_TOKEN_FILE" = config.sops.secrets."keys/cloudflare".path;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
|
|
@ -52,18 +52,10 @@ in
|
|||
extraConfig = lib.mkOption {
|
||||
type = attrs;
|
||||
default = { };
|
||||
description = "Will be added to locations.\"/\"";
|
||||
};
|
||||
};
|
||||
});
|
||||
default = [ ];
|
||||
example = [
|
||||
{
|
||||
source = "chat.bwfiq.com";
|
||||
target = "http://helios:3080";
|
||||
extraConfig = { };
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
mattermost.url = "mm.bwfiq.com";
|
||||
};
|
||||
web-servers = {
|
||||
enableSSL = true;
|
||||
nginx = {
|
||||
enable = true;
|
||||
proxies = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue