reseed_nginx.conf 413 B

12345678910111213141516
  1. limit_req_zone $binary_remote_addr zone=reseed:512k rate=10r/m;
  2. server {
  3. root /srv/pyseeder/output;
  4. listen [324:9de3:fea4:f6ac::ace]:7070;
  5. index seed.html;
  6. location /i2pseeds.su3 {
  7. limit_req zone=reseed burst=5;
  8. error_page 403 /err.html;
  9. if ($http_user_agent !~* "Wget/1.11.4" ) { return 403; }
  10. }
  11. location /acetone_at_mail.i2p.crt {
  12. limit_req zone=reseed;
  13. }
  14. }