From e234e5e8f871b21dce4db2b856d5ed5f40aad5d8 Mon Sep 17 00:00:00 2001 From: Alexander T Date: Sat, 2 Apr 2022 19:15:25 +0300 Subject: [PATCH] NixOS manual: fix ACME certificates in Nginx configuration example --- nixos/modules/security/acme/doc.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/security/acme/doc.xml b/nixos/modules/security/acme/doc.xml index f623cc509be6..4817f7a7fc6b 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. - security.acme.certs."foo.example.com".extraDomainNames = [ "baz.example.com" ]; + # but we have to append extraDomainNames manually beforehand: + # security.acme.certs."foo.example.com".extraDomainNames = [ "baz.example.com" ]; "baz.example.com" = { forceSSL = true; useACMEHost = "foo.example.com";