log blacklisted domains to a separate log file
vigith maurice
vigith at gmail.com
Tue Nov 18 18:40:37 UTC 2014
Hello,
I have a list of blacklisted domains in a file. For these domains I want to
log to a different log file. I assume i have to write nginx module for
this. Or do we have some other way to do this?
Since there are too many blacklisted domains and they will change quite
often, creating vhosts is tough.
If I have to write a module for this, could any please be kind enough to
tell me the best practices. I did read
http://www.evanmiller.org/nginx-modules-guide.html but it doesn't say much
on how to work at logging phase (i want my log file to get reopened at at
USR1).
Thanks a lot in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141118/1d238601/attachment.html>
More information about the nginx
mailing list