[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: Custom
From:       Francis Daly <francis () daoine ! org>
Date:       2021-09-15 23:08:29
Message-ID: 20210915230829.GL18734 () daoine ! org
[Download RAW message or body]

On Tue, Sep 14, 2021 at 05:04:43PM +0000, Mohit Joshi wrote:

Hi there,

> 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. 

I suspect that you will find more examples that can be followed, if you
change your design to use directives like

    my_module_name
    my_module_log_collector
    my_module_log_port

and accept them in http context (and maybe also server and location contexts).

Good luck with it,

	f
-- 
Francis Daly        francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic