summaryrefslogtreecommitdiff
path: root/apache2/sites-available/php.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/php.example.com.conf
parent522e8d71cc89e670cb33d3b3bdb311d478397860 (diff)
drop apache2 snippet local-log-origin, and streamline log options for sample vhosts
Diffstat (limited to 'apache2/sites-available/php.example.com.conf')
-rw-r--r--apache2/sites-available/php.example.com.conf5
1 files changed, 1 insertions, 4 deletions
diff --git a/apache2/sites-available/php.example.com.conf b/apache2/sites-available/php.example.com.conf
index 259d5f1..6998129 100644
--- a/apache2/sites-available/php.example.com.conf
+++ b/apache2/sites-available/php.example.com.conf
@@ -17,10 +17,7 @@
ServerName www.php.example.com
ServerAlias *.php.example.com
- Include conf.d/local-log-origin.conf
-
RedirectMatch permanent .* http://php.example.com/
- ErrorLog ${APACHE_LOG_DIR}/django.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/django.example.com-access.log origin
+ CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
</VirtualHost>