Ipv6 address not added to virtualhost https part

( Debian12, updated today, Webmin 2.510, Virtualmin 7.40.1

Hi,

It looks like something has broken when creating a new website with ipv4 + ipv6 support.

I expect this in the config file (/etc/apache2/sites-available)

<VirtualHost 167.99.4.23:80 [2a03:b0c0:2:e0::e0a:8001]:80>
<VirtualHost 167.99.4.23:80 [2a03:b0c0:2:e0::e0a:8001]:443>

But now I get this:

<VirtualHost 167.99.4.23:80 [2a03:b0c0:2:e0::e0a:8001]:80>
<VirtualHost 167.99.4.23:80:443>

All websites created before september are ok, but today I needed to create a new website and the ipv6 address of the https virtualhost was missing.

If I add it manually and restart apache it looks like it’s ok.

in “change ip addres” ipv4 and ipv6 are enabled with the shared address.

I tried to disable the ssl feature, save, and enable it again but that doesn’t solve it.

Also no errors when creating the website.

Regards,
Emiel

I tried to restore a backup from another server but I get strange errors with ip addresses and server going down. (the backup is from a few weeks ago)
Maybe same bugs because it all looks like ip related issues.