summaryrefslogtreecommitdiff
path: root/apache2/sites-available/chat.secure-example.com.conf
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-10-11 21:08:58 +0200
committerJonas Smedegaard <dr@jones.dk>2020-10-11 21:08:58 +0200
commitba4e3d3b24bacc22a5e86e7b33df40775d77d7d4 (patch)
tree57f3b63a9aa27b833780cb5b61a3fb00ebf4c0d6 /apache2/sites-available/chat.secure-example.com.conf
parent522e8d71cc89e670cb33d3b3bdb311d478397860 (diff)
drop apache2 snippet local-log-origin, and streamline log options for sample vhosts
Diffstat (limited to 'apache2/sites-available/chat.secure-example.com.conf')
-rw-r--r--apache2/sites-available/chat.secure-example.com.conf7
1 files changed, 2 insertions, 5 deletions
diff --git a/apache2/sites-available/chat.secure-example.com.conf b/apache2/sites-available/chat.secure-example.com.conf
index 1b27bbf..7c1c018 100644
--- a/apache2/sites-available/chat.secure-example.com.conf
+++ b/apache2/sites-available/chat.secure-example.com.conf
@@ -31,13 +31,12 @@
ServerName *.chat:443
Include conf.d/local-ssl.conf
- Include conf.d/local-log-origin.conf
RewriteEngine On
RewriteRule / https://chat.example.com/[R]
# RewriteRule /(.*) https://chat.example.com/$1 [R]
- CustomLog ${APACHE_LOG_DIR}/redirect.log origin
+ CustomLog ${APACHE_LOG_DIR}/redirect.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName chat.example.com
@@ -45,11 +44,9 @@
ServerAlias chat
ServerAlias *.chat
- Include conf.d/local-log-origin.conf
-
RewriteEngine On
RewriteRule / https://chat.example.com/ [R]
# RewriteRule /(.*) https://chat.example.com/$1 [R]
- CustomLog ${APACHE_LOG_DIR}/redirect.log origin
+ CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
</VirtualHost>