david at styleflare.com
Fri Aug 5 04:53:59 UTC 2011
Perhaps you can just pass it using fcgi to a lookup script that performs the
On Aug 4, 2011 11:51 PM, "zflairz" <nginx-forum at nginx.us> wrote:
> Is there any way I can 301 redirect a lot of (>10k) old urls to new urls
> in nginx conf?
> Writing 10k lines of rewrite rules seems to be not efficient as those
> rules will get checked for every single request.
> I'm thinking of some data structure like dict in python which can have a
> quick look up of the key and then do the redirect of the value. The
> question is how can I do that in nginx?
> Thanks a lot!
> Posted at Nginx Forum:
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx