Dear experts
   Need a help on a custom configuration block directive. I have created a 
dynamic module for logging (some specific features). Looking for a custom 
configuration block for my module, since this needs to be applied to all 
servers so wanted to block inside http as in MY_MODULE_CONFIGURATION below. 
What is the way to do this? any samples will help (right now on doing this I 
get unsupported directive error

http {

MY_MODULE_CONFIGURATION {
name "logging module";
log_collector "localhost"
log_port 9607
log_frequency 10
}

....
access_log /var/log/nginx/access.log ;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
....
}
}

Thanx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to