From b75ebb4f847eff40eb7cc9859fa6346d6ec437aa Mon Sep 17 00:00:00 2001
From: Stefan Eissing
Date: Tue, 28 Nov 2017 15:55:33 +0000
Subject: [PATCH] On the trunk:
mod_md: some clarifications around 'auto' membership in Managed Domains after review.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1816558 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_md.xml | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/docs/manual/mod/mod_md.xml b/docs/manual/mod/mod_md.xml
index e1095e2d88..90e926a822 100644
--- a/docs/manual/mod/mod_md.xml
+++ b/docs/manual/mod/mod_md.xml
@@ -131,7 +131,8 @@ ManagedDomain example.org www.example.org
There are two special names that you may use in this directive: 'manual'
and 'auto'. This determines if a Managed Domain shall have exactly the
name list as is configured ('manual') or offer more convenience. With 'auto'
- all names of a virtual host are added to a MD.
+ all names of a virtual host are added to a MD. Conventiently, 'auto' is also
+ the default.
Example
@@ -144,12 +145,21 @@ ManagedDomain example.org
SSLEngine on
</VirtualHost>
+
+ManagedDomain example2.org auto
+
+<VirtualHost *:443>
+ ServerName example2.org
+ ServerAlias www.example2.org
+ ...
+</VirtualHost>
In this example, the domain 'www.example.org' is automatically added to
- the MD 'example.org'. And when you add more ServerAlias names to this
- virtual host, they will be added as well.
+ the MD 'example.org'. Similarly for 'example2.org' where 'auto' is configured
+ explicitly. Whenever you add more ServerAlias names to this
+ virtual host, they will be added as well to the Manged Domain.
If this is too much automagic for you, define 'manual' mode.
mod_md will then complain if the names do not match.
@@ -175,7 +185,6 @@ ManagedDomain example.org
Example
<ManagedDomain sandbox.example.org>
- MDDriveMode manual
MDCertificateAuthority https://someotherca.com/ACME
MDCertificateAgreement https://someotherca.com/terms/v_1.02.pdf
</ManagedDomain>
@@ -321,7 +330,7 @@ MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2
MDMembers
Control if the alias domain names are automatically added.
MDMembers auto|manual
- MDDriveMode auto
+ MDMembers auto
server config
--
2.40.0