summaryrefslogtreecommitdiff
path: root/apache2/sites-available/mail.secure-example.com.conf
diff options
context:
space:
mode:
Diffstat (limited to 'apache2/sites-available/mail.secure-example.com.conf')
-rw-r--r--apache2/sites-available/mail.secure-example.com.conf7
1 files changed, 2 insertions, 5 deletions
diff --git a/apache2/sites-available/mail.secure-example.com.conf b/apache2/sites-available/mail.secure-example.com.conf
index 3ba1a3a..dd25302 100644
--- a/apache2/sites-available/mail.secure-example.com.conf
+++ b/apache2/sites-available/mail.secure-example.com.conf
@@ -17,13 +17,12 @@
ServerName *.mail:443
Include conf.d/local-ssl.conf
- Include conf.d/local-log-origin.conf
RewriteEngine On
RewriteRule / https://mail.example.com/ [R]
# RewriteRule /(.*) https://mail.example.com/$1 [R]
- CustomLog ${APACHE_LOG_DIR}/redirect.log origin
+ CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
</VirtualHost>
<VirtualHost *:80>
ServerName mail.example.com
@@ -31,11 +30,9 @@
ServerAlias mail
ServerAlias *.mail
- Include /etc/apache2/conf.d/local-log-origin.conf
-
RewriteEngine On
RewriteRule / https://mail.example.com/ [R]
# RewriteRule /(.*) https://mail.example.com/$1 [R]
- CustomLog ${APACHE_LOG_DIR}/redirect.log origin
+ CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
</VirtualHost>