Welcome! Log In Create A New Profile

Advanced

Re: Custom

Francis Daly
September 15, 2021 07:10PM
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
Subject Author Posted

Custom

Mohit Joshi September 14, 2021 01:06PM

Re: Custom

Francis Daly September 15, 2021 07:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready