l 4: use fullchain.pem as certificate
This commit is contained in:
parent
84c7ba200a
commit
8f20cf974e
@ -15,7 +15,6 @@ rec {
|
|||||||
webroot = "/var/lib/acme/challenges/${domain}";
|
webroot = "/var/lib/acme/challenges/${domain}";
|
||||||
plugins = [
|
plugins = [
|
||||||
"account_key.json"
|
"account_key.json"
|
||||||
"cert.pem"
|
|
||||||
"key.pem"
|
"key.pem"
|
||||||
"fullchain.pem"
|
"fullchain.pem"
|
||||||
];
|
];
|
||||||
@ -74,7 +73,7 @@ rec {
|
|||||||
krebs.nginx.servers."${domain}" = {
|
krebs.nginx.servers."${domain}" = {
|
||||||
ssl = {
|
ssl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
certificate = "/var/lib/acme/${domain}/cert.pem";
|
certificate = "/var/lib/acme/${domain}/fullchain.pem";
|
||||||
certificate_key = "/var/lib/acme/${domain}/key.pem";
|
certificate_key = "/var/lib/acme/${domain}/key.pem";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user