Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to protect my nginx+pessenger+rails3 HTTP server from hammering/scraping. If you try to scrape the Google it shows you a captcha in case you make too many requests from the same IP. What module should I use?

Thanks.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You can throttle connections with the following

http://wiki.nginx.org/NginxHttpLimitReqModule

share|improve this answer
    
Hey... thanks for the answer! Do you know what is the usual configuration for it? –  xpepermint Apr 5 '12 at 6:05
    
@xpepermint: The documentation linked to in the answer gives examples. –  womble Apr 5 '12 at 6:10
    
Hey... I'm asking for the best practice info ... –  xpepermint Apr 5 '12 at 7:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.