dns challenge
This commit is contained in:
parent
4dbf6b8866
commit
6895b9357e
|
@ -12,7 +12,11 @@ in {
|
|||
defaults.server =
|
||||
"https://acme-staging-v02.api.letsencrypt.org/directory";
|
||||
defaults.group = config.services.nginx.group;
|
||||
defaults.webroot = "/var/lib/acme/acme-challenge";
|
||||
defaults.credentialsFile = {
|
||||
"PORKBUN_API_KEY" = "/srv/secrets/porkbun-api";
|
||||
"PORKBUN_SECRET_API_KEY" = "/srv/secrets/porkbun-secret-api";
|
||||
};
|
||||
defaults.dnsProvider = "porkbun";
|
||||
};
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
@ -27,6 +31,7 @@ in {
|
|||
|
||||
access_log /var/log/nginx/access.log combined buffer=32k flush=5m;
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue