summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnonymous <anon@anon.com>2022-01-07 19:19:04 +0100
committerAnonymous <anon@anon.com>2022-01-07 19:19:04 +0100
commit438049da1f09846b629fb162921c2965f1eedb84 (patch)
tree712dbbe1502e67fa4f209db8f32a5e8ae1f3ccef
parent9902e006ee97cf17dd7efb9655031a0aa50b3fcf (diff)
Updated ACME.md (markdown)
-rw-r--r--ACME.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACME.md b/ACME.md
index e8eaefe..88de337 100644
--- a/ACME.md
+++ b/ACME.md
@@ -15,6 +15,7 @@ security.pki.certificateFiles = [(pkgs.fetchurl {
```
services.nginx.virtualHosts."myservice.r" = {
enableACME = true;
+ addSSL = true;
}
security.acme.certs."myservice.r".server = "https://ca.r/acme/acme/directory";
```
@@ -33,9 +34,7 @@ security.acme.certs."myservice.r".server = "https://ca.r/acme/acme/directory";
{ addr = "catalonia.r"; port = 80; }
{ addr = "catalonia.r"; port = 443; ssl = true; }
];
- useACMEHost = "catalonia.r";
- sslCertificate = "/var/lib/acme/catalonia.r/fullchain.pem";
- sslCertificateKey = "/var/lib/acme/catalonia.r/key.pem";
+ enableACME = true;
addSSL = true;
};
};