From 43473d2f9baf18dde0cef951e77a4f8ef62a979b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 11 Oct 2020 19:25:44 +0200 Subject: fix load default https site _after_ http site (otherwise all http sites will be TLS encrypted) --- apache2/sites-available/0_default.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apache2/sites-available/0_default.conf b/apache2/sites-available/0_default.conf index ce390fb..2757fb9 100644 --- a/apache2/sites-available/0_default.conf +++ b/apache2/sites-available/0_default.conf @@ -1,19 +1,19 @@ - + ServerName wrong.example.com + ServerAlias wrong ServerAdmin webmaster@example.com DocumentRoot /home/webmaster/public_websites/wrong.example.com - Include conf.d/local-ssl.conf - ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined - + ServerName wrong.example.com - ServerAlias wrong ServerAdmin webmaster@example.com DocumentRoot /home/webmaster/public_websites/wrong.example.com + Include conf.d/local-ssl.conf + ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined -- cgit v1.2.3