Commit 28f5917d authored by nono's avatar nono
Browse files

Touch des fichiers de log nginx pour fail2ban

parent c415fec1
......@@ -5,6 +5,19 @@
enabled: yes
name: fail2ban
- name: Création des fichiers de error log nginx
file:
path: "/var/log/nginx/error.log"
state: present
owner: www-data
group: www-data
- name: Création des fichiers de access log nginx
file:
path: "/var/log/nginx/access.log"
state: present
owner: www-data
group: www-data
- name: Configuration du fichier de configuration de fail2ban
template:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment