Welcome! Log In Create A New Profile

Advanced

fail2ban + nginx+PHP

Szépe Viktor
September 30, 2014 12:50PM
Good morning!

1
Is it possible to have nginx create another log entry on new
lines/several error_log() PHP function?
Now mmultiple error_log()-s are logged as one nginx error.log line.
Apache logs them separatly even in FastCGI mode.

2
Does any of you use fail2ban with nginx+PHP? I mean triggering on PHP
error_log() messages, not on HTTP/auth, non-existent script files etc.

3
When setting PHP error_log directive there is NO IP address prepended
in the log line.

Thank you!
Szépe Viktor
--
+36-20-4242498 sms@szepe.net skype: szepe.viktor
Budapest, XX. kerület




_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

fail2ban + nginx+PHP

Szépe Viktor September 30, 2014 12:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 195
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready