summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:16 +0000
commitbfcfbc2f0ecc166af6dd3dbb56dff24a1705fb0c (patch)
treedbaf1b0742fec9f2c6e20f6015c650459a0a0592
parentDepending on ssl-cert or dehydrated. (diff)
downloadapache2-bfcfbc2f0ecc166af6dd3dbb56dff24a1705fb0c.tar.xz
apache2-bfcfbc2f0ecc166af6dd3dbb56dff24a1705fb0c.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>