<div dir="ltr">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?<div><br></div><div>Thank you<br><div class="gmail_extra"><br><div class="gmail_quote">On 20 June 2016 at 11:43, Justin Kennedy <span dir="ltr"><<a href="mailto:justin@justinkennedy.ca" target="_blank">justin@justinkennedy.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'll try to simply the question: Can a module be enabled only for specific server blocks? <div><br></div><div>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).<div><br></div><div>Please advice, thank you!</div></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On 8 June 2016 at 14:32, Justin Kennedy <span dir="ltr"><<a href="mailto:justin@justinkennedy.ca" target="_blank">justin@justinkennedy.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hello,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">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). </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is this possible with nginx? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you,</div><div style="font-size:12.8px">-Justin</div>
</div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class=""><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr">Justin Kennedy<div>Software Developer</div><div><br></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr">Justin Kennedy<div>Software Developer</div><div><br></div></div></div></div></div></div>
</div></div></div>