-
So I can mount that file and have fail2ban keep an eye. |
Beta Was this translation helpful? Give feedback.
Answered by
SchoNie
Mar 21, 2023
Replies: 2 comments 1 reply
-
Yes, nginx access logs already are written to a file ( See: #2190 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
airdogvan
-
Thanks for the trouble. I thought I searched and didn't find anything. Must have searched with wrong terms... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, nginx access logs already are written to a file (
/var/log/nginx/access.log
) but inside the container. You could mount this access.log to a volume or host folder, and then expose that to fail2ban.See: #2190