Fail2ban failed on ondemand

Either apache-auth or nginx is failed
Is that ondemand use port http,https?
how to setup to ban the ip to prevent malicious attacks


Generally ondemand installations use https, but only by configuration. That is, installers have to set https up.

You’ll probably want to enable ssl_error_log if you’re using certificates and https or perhaps better yet /var/log/httpd24/*error.log if you have the servername in the logfile name.

Are you saying this fail2ban configuration does not work? Looks like it should, unless you’re using https and/or have a different filename, then you’re looking at the wrong file.

Did you make progress on this @flybirdkh?