Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
security-lqdn
Commits
28f5917d
Commit
28f5917d
authored
Mar 03, 2022
by
nono
Browse files
Touch des fichiers de log nginx pour fail2ban
parent
c415fec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tasks/fail2ban.yml
View file @
28f5917d
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment