Skip to content

Request: Is it possible to not send nginx access.log to dev/nul #2199

Closed Answered by SchoNie
airdogvan asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@buchdag
Comment options

Answer selected by airdogvan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants