diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 07:22:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 07:22:14 +0000 |
commit | 399f20f9afd202836fbc03f6eeb2ed975c32dd27 (patch) | |
tree | 31c72a975dbd2a439862332628f26ed77169ef2c | |
parent | Trimming default sites. (diff) | |
download | apache2-399f20f9afd202836fbc03f6eeb2ed975c32dd27.tar.xz apache2-399f20f9afd202836fbc03f6eeb2ed975c32dd27.zip |
Enabling default-ssl site by default.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/apache2.postinst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/apache2.postinst b/debian/apache2.postinst index 3f98a6f..75f3ea5 100644 --- a/debian/apache2.postinst +++ b/debian/apache2.postinst @@ -71,6 +71,11 @@ install_default_site() a2ensite -q 000-default fi + if [ ! -L /etc/apache2/sites-enabled/000-default-ssl.conf -a \ + ! -f /etc/apache2/sites-enabled/000-default-ssl.conf ]; then + a2ensite -q 000-default-ssl + fi + touch /var/log/apache2/error.log /var/log/apache2/access.log chown root:adm /var/log/apache2/error.log /var/log/apache2/access.log chmod 0640 /var/log/apache2/error.log /var/log/apache2/access.log |