Mohit Joshi m_joshi at
Tue Sep 14 17:04:43 UTC 2021

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 {

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 / {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list