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        fran...@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
  • Custom Mohit Joshi
    • Re: Custom Francis Daly

Reply via email to