String replace on rewrite module

Alex Sergeyev asergeyev at
Tue Jul 20 17:39:34 MSD 2010

Oh, missed part about nestedness to more levels...

You just can write multiple rewrites for 1 level, 2 levels and so on for
up to 9 levels deep. Would that be enough?

You can also build map of all possible redirects from all "virtual
folder names to "underscored" and use it faster than rewrite everything
at once.

You can also build recursive redirects like in my example, without break
to make nginx repeat cycle of rewrites again, up to 10 times.


More information about the nginx mailing list