diff options
author | Christian Kögler <ck3d@gmx.de> | 2022-08-19 09:55:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 09:55:43 +0200 |
commit | 5d52f389050f9c991b29f120d62b332808c79b96 (patch) | |
tree | 80b5c3d5531bb6258e79a9199ae5c419615b6d2f /nixos/modules/security | |
parent | 2364de14a70e8ba2096dbe0af666a735860a0c43 (diff) | |
parent | e234e5e8f871b21dce4db2b856d5ed5f40aad5d8 (diff) |
Merge pull request #166942 from AleXoundOS/patch-1
NixOS manual: fix ACME certificates in Nginx configuration sample
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/acme/doc.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/security/acme/doc.xml b/nixos/modules/security/acme/doc.xml index f623cc509be69..4817f7a7fc6bf 100644 --- a/nixos/modules/security/acme/doc.xml +++ b/nixos/modules/security/acme/doc.xml @@ -81,8 +81,8 @@ services.nginx = { }; # We can also add a different vhost and reuse the same certificate - # but we have to append extraDomainNames manually. - <link linkend="opt-security.acme.certs._name_.extraDomainNames">security.acme.certs."foo.example.com".extraDomainNames</link> = [ "baz.example.com" ]; + # but we have to append extraDomainNames manually beforehand: + # <link linkend="opt-security.acme.certs._name_.extraDomainNames">security.acme.certs."foo.example.com".extraDomainNames</link> = [ "baz.example.com" ]; "baz.example.com" = { <link linkend="opt-services.nginx.virtualHosts._name_.forceSSL">forceSSL</link> = true; <link linkend="opt-services.nginx.virtualHosts._name_.useACMEHost">useACMEHost</link> = "foo.example.com"; |