I already have the following two lines in my apache configuration:
NameVirtualHost *:80 NameVirtualHost *:443
When I create a site as a reseller and select the "setup ssl website too?" option under enabled features, the following lines are appended to the apache2.conf file: (ip addresses obscured on purpose)
NameVirtualHost <ipv4>:80 NameVirtualHost <ipv4>:443
When I create an site as user root using the same method, the following lines are added:
NameVirtualHost <ipv4>:80 NameVirtualHost <ipv4>:443 NameVirtualHost <ipv6>:80 NameVirtualHost <ipv6>:443
Note the two additional ipv6 lines.
I have the "virtualmin configuration"|"defaults for new domains"|"Address format for Apache virtual hosts" set to "always use *"