Best way to handle large number of frequently updated redirects

justin_achievable nginx-forum at
Mon Aug 1 22:29:53 UTC 2022

Hi, I'm looking for advice on the best way to handle a fairly large and
frequently updated list of redirects.

Basically, I have a CSV file with source, target, and redirect type. There
are several hundred entries, with updates made about weekly. We expect this
list to grow quickly into the thousands once we have a process in place.

>From my research, it feels like a redirect map using
( might be the best
option. So would the preferred approach be to write a script to process the
CSV file into an include that works with map, sync the map file to the
server and reload periodically to pick up on the updated config?

Any advice would be appreciated.

Thank you,

Justin Pincar

Posted at Nginx Forum:,294889,294889#msg-294889

More information about the nginx mailing list