fail2ban + nginx+PHP

Szépe Viktor viktor at szepe.net
Tue Sep 30 16:49:26 UTC 2014


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 at szepe.net  skype: szepe.viktor
Budapest, XX. kerület






More information about the nginx mailing list