projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apache: anonymize error.log; set ServerAdmin and ServerName
[ansible.git]
/
roles
/
apache
/
templates
/
defaults.conf
diff --git a/roles/apache/templates/defaults.conf
b/roles/apache/templates/defaults.conf
new file mode 100644
(file)
index 0000000..
d9d4948
--- /dev/null
+++ b/
roles/apache/templates/defaults.conf
@@ -0,0
+1,6
@@
+# Set server name and admin
+ServerAdmin {{apache.webmaster}}
+ServerName {{apache.server_name}}
+
+# Anonymize error log
+ErrorLog "||/etc/apache2/log-anon ${APACHE_LOG_DIR}/error.log"