Welcome! Log In Create A New Profile

Advanced

Re: rewrite phases order

Maxim Dounin
January 11, 2013 05:52AM
Hello!

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.

--
Maxim Dounin
http://nginx.com/support.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

rewrite phases order

toli 1137 January 11, 2013 04:58AM

Re: rewrite phases order

Maxim Dounin 563 January 11, 2013 05:52AM

Re: rewrite phases order

toli 659 January 11, 2013 06:38AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 199
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