enable module for specific site
justin at justinkennedy.ca
Tue Jun 21 14:06:10 UTC 2016
HI Wandenberg, Our module is a request filter. Do we have to do anything
special with this type of module to make it configurable per server /
location ? I come from the Apache world, and there we would have to make a
custom directive, then the module would have to react to that accordingly.
Is it different for nginx?
On 20 June 2016 at 11:43, Justin Kennedy <justin at justinkennedy.ca> wrote:
> I'll try to simply the question: Can a module be enabled only for specific
> server blocks?
> I.e. If a module is "included" in server block B then it will not
> interfere with requests on server block A (or any other).
> Please advice, thank you!
> On 8 June 2016 at 14:32, Justin Kennedy <justin at justinkennedy.ca> wrote:
>> I am developing an nginx module and one of the requirements is to enable
>> the module only for specific sites or virtual hosts (using a directive I
>> would suppose).
>> Is this possible with nginx?
>> Thank you,
> Justin Kennedy
> Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel