Custom

Francis Daly francis at daoine.org
Wed Sep 15 23:08:29 UTC 2021


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 at daoine.org


More information about the nginx mailing list