Francis Daly francis at
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


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

Good luck with it,

Francis Daly        francis at

More information about the nginx mailing list