Welcome! Log In Create A New Profile

Advanced

log blacklisted domains to a separate log file

vigith maurice
November 18, 2014 01:42PM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

log blacklisted domains to a separate log file

vigith maurice November 18, 2014 01:42PM

Re: log blacklisted domains to a separate log file

itpp2012 November 18, 2014 01:49PM

Re: log blacklisted domains to a separate log file

vigith maurice November 18, 2014 02:02PM

Re: log blacklisted domains to a separate log file

vigith maurice November 18, 2014 02:20PM

Re: log blacklisted domains to a separate log file

itpp2012 November 18, 2014 02:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
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