How can I redirect some IP addresses?

Jiff nginx-forum at
Sun Jul 1 04:16:31 UTC 2012

Hi forulisters,

I've got a bunch of IP addresses and IP ranges I'd like 
to redirect to, let's say the amnesty international site 
(they're mainly from gov).

I read but as I've
got many of them I'm wondering if nginx can read a text 
file (or something else) instead of put all these addresses 
in a block?

I'd also like if I can have a round-robin of redirections
(once for amnesty, next to copwatch, etc)?


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

More information about the nginx mailing list