Skip to content
Snippets Groups Projects
Commit 7746682f authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve default logging settings

parent 46dc89d5
No related branches found
No related tags found
No related merge requests found
......@@ -37,35 +37,18 @@
line='EnableSendfile On'
notify: "Apache | Restart Apache"
- name: "Apache | Configure Security Settings"
- name: "Apache | Configure Security, Global Redirect, Global Deny, Logging"
template:
src='etc-apache2-conf-available-security'
dest='/etc/apache2/{{ apache_conf_dir }}/security.conf'
owner='root'
group='root'
mode='644'
notify:
- "Apache | Restart Apache"
tags: 'ApacheConfig'
- name: "Apache | Create Global Redirect Configuration"
template:
src='etc-apache2-conf-available-global-redirect'
dest='/etc/apache2/{{ apache_conf_dir }}/global-redirect.conf'
owner='root'
group='root'
mode='644'
notify:
- "Apache | Restart Apache"
tags: 'ApacheConfig'
- name: "Apache | Create Global Deny Configuration"
template:
src='etc-apache2-conf-available-global-deny'
dest='/etc/apache2/{{ apache_conf_dir }}/global-deny.conf'
src='etc-apache2-conf-available-{{item }}'
dest='/etc/apache2/{{ apache_conf_dir }}/{{ item }}.conf'
owner='root'
group='root'
mode='644'
with_items:
- 'security'
- 'global-redirect'
- 'global-deny'
- 'other-vhosts-access-log'
notify:
- "Apache | Restart Apache"
tags: 'ApacheConfig'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment