Duplicate GCI settings for SSL block.
--- a/deb/apache-register-2048.bash Sun May 07 12:44:53 2023 +0300
+++ b/deb/apache-register-2048.bash Sun May 07 12:48:06 2023 +0300
@@ -21,6 +21,12 @@
<IfModule mod_ssl.c>
<VirtualHost 2048.defun.work:443>
+ DocumentRoot /srv/www/$d
+ ServerName $d.defun.work
+
+ <Directory "/srv/www/$d/">
+ Require all granted
+ </Directory>
SSLCertificateFile /etc/letsencrypt/live/defun.work/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/defun.work/privkey.pem
@@ -30,4 +36,4 @@
EOF
a2ensite $d
-service apache2 restart
+service apache2 reload