summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-09-22 14:57:24 -0400
committervarac <varacanero@zeromail.org>2014-09-25 11:22:14 +0200
commit9da2a36155d3b96e0dc41cac3dd38f8b6c50efd2 (patch)
tree9fc0cb61753db8142f674f82c9c47c37ec2c9c59 /puppet/modules/site_apache/templates/vhosts.d/common.conf.erb
parentaf606967d39227390f5ef8403c64d693c1dfd76d (diff)
stop logging user-agent in apache, fixes #6129
Change-Id: I66384ae4a723be063790362f70e57228a0f1539b
Diffstat (limited to 'puppet/modules/site_apache/templates/vhosts.d/common.conf.erb')
-rw-r--r--puppet/modules/site_apache/templates/vhosts.d/common.conf.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb b/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb
index ed430510..0e08529c 100644
--- a/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb
+++ b/puppet/modules/site_apache/templates/vhosts.d/common.conf.erb
@@ -3,12 +3,14 @@
ServerAlias www.<%= domain %>
RewriteEngine On
RewriteRule ^.*$ https://<%= domain -%>%{REQUEST_URI} [R=permanent,L]
+ CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log common
</VirtualHost>
<VirtualHost *:443>
ServerName <%= domain_name %>
ServerAlias <%= domain %>
ServerAlias www.<%= domain %>
+ CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log common
SSLEngine on
SSLProtocol all -SSLv2