enable module for specific site

Wandenberg Peixoto wandenberg at gmail.com
Mon Jun 20 15:27:59 UTC 2016


It depends on the module. If it is configurable on main, server or location
blocks. But generally you can enable/disable at any of these 3 levels
On Jun 20, 2016 11:44, "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:
>
>> Hello,
>>
>> 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
>>
>
>
>
> --
> Justin Kennedy
> Software Developer
> 506 645 1195
>
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160620/d241a5e6/attachment.html>


More information about the nginx-devel mailing list