The Certbot team is currently working on providing support for multiple virtual hosts in a single file in Apache. One issue we’ve hit recently is what blocks surrounding <VirtualHost>
directives should be copied when converting a site from HTTP to HTTPS. In general, we are looking for things of the form:
<Directive>
<VirtualHost>
...
</VirtualHost>
</Directive>
Specific examples of directives are <IfDefine>
, <IfModule>
, <IfVersion>
and <Macro>
. If you have an Apache configuration where a <VirtualHost>
block is enclosed in another directive, it’d be very useful for us to know what the directive is.
Thanks in advance for any input!