<sourcefile>mod_md.c</sourcefile>
<identifier>md_module</identifier>
<compatibility>Available in version 2.5.0 and later</compatibility>
-
<summary>
<p>
This module manages common properties of domains for one or more virtual hosts.
</note>
</summary>
-
+
<directivesynopsis>
- <name>ManagedDomain</name>
+ <name>ManagedDomainSimple</name>
<description>Define list of domain names that belong to one group</description>
<syntax>ManagedDomain <var>dns-name</var> [ <var>other-dns-name</var>... ]</syntax>
<contextlist>
<syntax>MDCertificateAgreement url-of-terms-of-service</syntax>
<contextlist>
<context>server config</context>
- <context>managed domain</context>
</contextlist>
<usage>
<p>When you use <module>mod_md</module> to obtain a certificate, you become a customer of the CA (e.g. Let's Encrypt). That means you need to read and agree to their Terms of Service,
<default>MDCertificateAuthority https://acme-v01.api.letsencrypt.org/directory</default>
<contextlist>
<context>server config</context>
- <context>managed domain</context>
</contextlist>
<usage>
<p>
<default>MDCertificateProtocol ACME</default>
<contextlist>
<context>server config</context>
- <context>managed domain</context>
</contextlist>
<usage>
<p>Specifies the protocol to use. Currently, only <code>ACME</code> is supported.</p>
<default>MDDriveMode auto</default>
<contextlist>
<context>server config</context>
- <context>managed domain</context>
</contextlist>
<usage>
<p>In 'auto' mode, <module>mod_md</module> will <em>drive</em> a Managed Domain's
properties (e.g. certicate management) whenever necessary. When a MD is not used
in any virtual host, the module will do nothing. When a certificate is missing, it
will try to get one. When a certificate expires soon (see
- <directive module="mod_md" type="section">MDRenewWindow</directive>), it will
+ <directive module="mod_md">MDRenewWindow</directive>), it will
renew it.
</p><p>
In 'manual' mode, it is your duty to do all this. The module will provide existing
<syntax>MDMember hostname</syntax>
<contextlist>
<context>server config</context>
- <context>managed domain</context>
</contextlist>
<usage>
<p>
Instead of listing all dns names on the same line, you may use
- <directive module="mod_md" type="section">MDMember</directive> to add such names
+ <directive module="mod_md">MDMember</directive> to add such names
to a managed domain.
</p>
<example><title>Example</title>
</p>
</usage>
</directivesynopsis>
-
+
<directivesynopsis>
<name>MDRenewWindow</name>
<description></description>
<default>MDRenewWindow 14d</default>
<contextlist>
<context>server config</context>
- <context>managed domain</context>
</contextlist>
<usage>
<p>
</p>
</usage>
</directivesynopsis>
-
+
<directivesynopsis>
<name>MDCAChallenges</name>
<description></description>
<default>MDCAChallenges tls-sni-01 http-01</default>
<contextlist>
<context>server config</context>
- <context>managed domain</context>
</contextlist>
<usage>
<p>
</p>
</usage>
</directivesynopsis>
-
+
</modulesynopsis>