rewrite phases order
toli at webforge.bg
Fri Jan 11 11:37:07 UTC 2013
On 01/11/2013 12:51 PM, Maxim Dounin wrote:
> On Fri, Jan 11, 2013 at 11:56:15AM +0200, Anatoli Marinov wrote:
>> Hello colleagues,
>> I am wondering is there an way to order function calls for rewrite phase.
>> For example I have 3 modules that may reject request and all they
>> register a function for request rewrite phase.
>> The modules are A, B and C. From log messages I can see that the
>> function are called in "unordered" way for example B, C, A. How can
>> I order the calls to A, B, C ?
> Yes, last added module is always called first. If module order is
> important in your case, trivial solution would be to reorder --add-module
> configure arguments for the correct order.
More information about the nginx-devel