Hello,
I installed Gitlab on CentOS 8 and have it publicly accessible. I have installed failed2ban cant seem to get fail2ban to work with gitlab. Only the ssh daemon is blocking stuff. The http daemon is not blocking anything although I am getting attacks. I have set the Log files to what I believe is the correct ones, but still not capturing anything. Could someone help me figure out why fail2ban is not working with gitlab?
Below is my jail.local
[nginx-http-auth]
enabled = true
filter = nginx-http-auth
port = http,https
logpath = /var/log/gitlab/nginx/gitlab_error.log
[nginx-noscript]
enabled = true
port = http,https
filter = nginx-noscript
logpath = /var/log/gitlab/nginx/gitlab_access.log
maxretry = 6
[nginx-badbots]
enabled = true
port = http,https
filter = nginx-badbots
logpath = /var/log/gitlab/nginx/gitlab_access.log
maxretry = 2
[nginx-nohome]
enabled = true
port = http,https
filter = nginx-nohome
logpath = /var/log/gitlab/nginx/gitlab_access.log
maxretry = 2
[nginx-noproxy]
enabled = true
port = http,https
filter = nginx-noproxy
logpath = /var/log/gitlab/nginx/gitlab_access.log
maxretry = 2
[gitlab]
enabled = true
port = http,https
filter = gitlab
logpath = /var/log/gitlab/gitlab_error.log