summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:06:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:06:01 +0000
commitc4a63a26c3d9d2aa74dedbb0143357ea5ba385eb (patch)
treee449eb6c70cf43c32d501341a7d4cdce2fa95e66
parentDepending on ssl-cert or dehydrated. (diff)
downloadapache2-c4a63a26c3d9d2aa74dedbb0143357ea5ba385eb.tar.xz
apache2-c4a63a26c3d9d2aa74dedbb0143357ea5ba385eb.zip
Enabling rewrite http to https.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/config-dir/sites-available/000-default.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/config-dir/sites-available/000-default.conf b/debian/config-dir/sites-available/000-default.conf
index 23bbcd3..a2f2087 100644
--- a/debian/config-dir/sites-available/000-default.conf
+++ b/debian/config-dir/sites-available/000-default.conf
@@ -4,6 +4,8 @@
DocumentRoot /var/www/html
+ Include /etc/apache2/conf-available/rewrite-http-to-https.conf
+
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>